cancel
Showing results for 
Search instead for 
Did you mean: 

Does Magento 2 API's support for Custom object and Custom Fields

Does Magento 2 API's support for Custom object and Custom Fields

Does Magento 2 REST or SOAP API's support for Custom object and Custom Fields? If it does than can you'll mention any API that has this feature?

1 REPLY

Re: Does Magento 2 API's support for Custom object and Custom Fields

There are two more additional configurations we need to add API capability to module, webapi.xml and di.xml. In webapi.xml we are configuring access rights and API Interface that specified method will use.

Resource tag defines what resources user needs to have to be able to access this api call. Possible options are self, anonymous or Magento resource like Magento_Catalog:Smiley Tongueroducts or Magento_Customer::group. We will for now use anonymous so we can access it as a guest.