Websites
Assign a product to the website
Path parameters
skustringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"productWebsiteLink":{"sku":"<string>","website_id":"<integer>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/products/{sku}/websitesAssign a product to the website
Path parameters
skustringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"productWebsiteLink":{"sku":"<string>","website_id":"<integer>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/products/{sku}/websitesRemove the website assignment from the product by product sku
Path parameters
skustringRequiredExample:
(Required)
<string>websiteIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/products/{sku}/websites/{websiteId}