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}/websitesPOST /V1/products/{sku}/websites HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"productWebsiteLink": {
"sku": "<string>",
"website_id": "<integer>"
}
}{}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
put
/V1/products/{sku}/websitesPUT /V1/products/{sku}/websites HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"productWebsiteLink": {
"sku": "<string>",
"website_id": "<integer>"
}
}{}Remove 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}DELETE /V1/products/{sku}/websites/{websiteId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true