Websites

catalog Product Website Link Repository V1Save Post

post

Assign a product to the website

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"productWebsiteLink":{"sku":"<string>","website_id":"<integer>"}}
Responses
200

OK

application/json
Responseobject
post
POST /V1/products/{sku}/websites HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "productWebsiteLink": {
    "sku": "<string>",
    "website_id": "<integer>"
  }
}
{}

catalog Product Website Link Repository V1Save Put

put

Assign a product to the website

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"productWebsiteLink":{"sku":"<string>","website_id":"<integer>"}}
Responses
200

OK

application/json
Responseobject
put
PUT /V1/products/{sku}/websites HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "productWebsiteLink": {
    "sku": "<string>",
    "website_id": "<integer>"
  }
}
{}

catalog Product Website Link Repository V1Delete By Id Delete

delete

Remove the website assignment from the product by product sku

Path parameters
skustringRequired

(Required)

Example: <string>
websiteIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
DELETE /V1/products/{sku}/websites/{websiteId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true