products/{sku}/websites

products/{sku}/websites

post/V1/products/{sku}/websites

Assign a product to the website

Request
path Parameters
sku
required
string
Request Body schema:
required
object (catalog-data-product-website-link-interface)
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "productWebsiteLink": {
    }
}
Response samples
true

products/{sku}/websites

put/V1/products/{sku}/websites

Assign a product to the website

Request
path Parameters
sku
required
string
Request Body schema:
required
object (catalog-data-product-website-link-interface)
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "productWebsiteLink": {
    }
}
Response samples
true