Jump to content

Extend existing webservice definition


Recommended Posts

Hi all!

 

I am in the process of creating a module for our e-commerce stores. Because we need some functionality relating to HS-codes, I added a field for this in the products tab via a custom module. I store HS-codes in the database, every product can have at most one HS-code. Our product managers create products via our ERP system, which adds these products to Prestashop via the webservice.

Now my question:

Is it possible to add my HS-code field to the schema of `Product`? I know that I can extend the webservice like this, but I rather just send my custom field via an existing endpoint rather than creating a new endpoint.

 

Thanks in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...