Links
Add child product to specified Bundle option by product sku
Path parameters
skustringRequiredExample:
(Required)
<string>
optionIdstringRequiredExample:
(Required)
<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
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
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
Path parameters
skustringRequiredExample:
(Required)
<string>
idstringRequiredExample:
(Required)
<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
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
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