PUT product/edit
It will update product details to the database based on product_code If invalid product_code is provided the prouct will not be updated To get the list of product_codes go to : url You will need to pass all the fields. For mandatory you cannot pass blank fields.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| product | 1) Name:
2) Code: Mandatory
3) Price:
4) PriceRangeId: Price range, to get list of price bands call product/getpricebands
5) PrimaryCategoryCode:
6) Visible: Default to false
7) FriendlyUrl: If not provided will be set to Name + Code If the url of the particular product page is: http//www.xyz.com/test
Then the friendly url should be: test
It should be in lower cases.
8) VatRate
9) WebpageTitle: Recommended for SEO purposes
10) MetaDescription: Recommended for SEO purposes
11) RRP
12) PublishDate: Date
13) DateStamp: Date |
Define this parameter in the request body. |
Request body formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.