Links

bundle Product Link Management V1Add Child By Product Sku Post

post

Add child product to specified Bundle option by product sku

Path parameters
skustringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <integer>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"linkedProduct":{"is_default":"<boolean>","price":"<number>","price_type":"<integer>","id":"<string>","sku":"<string>","option_id":"<integer>","qty":"<number>","position":"<integer>","can_change_quantity":"<integer>","extension_attributes":"<object>"}}
Responses
200

OK

application/json
Responseobject
post
POST /V1/bundle-products/{sku}/links/{optionId} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 253

{
  "linkedProduct": {
    "is_default": "<boolean>",
    "price": "<number>",
    "price_type": "<integer>",
    "id": "<string>",
    "sku": "<string>",
    "option_id": "<integer>",
    "qty": "<number>",
    "position": "<integer>",
    "can_change_quantity": "<integer>",
    "extension_attributes": "<object>"
  }
}
66689314
put
Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"linkedProduct":{"is_default":"<boolean>","price":"<number>","price_type":"<integer>","id":"<string>","sku":"<string>","option_id":"<integer>","qty":"<number>","position":"<integer>","can_change_quantity":"<integer>","extension_attributes":"<object>"}}
Responses
200

OK

application/json
Responseobject
put
PUT /V1/bundle-products/{sku}/links/{id} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 253

{
  "linkedProduct": {
    "is_default": "<boolean>",
    "price": "<number>",
    "price_type": "<integer>",
    "id": "<string>",
    "sku": "<string>",
    "option_id": "<integer>",
    "qty": "<number>",
    "position": "<integer>",
    "can_change_quantity": "<integer>",
    "extension_attributes": "<object>"
  }
}
true