Options

bundle Product Option Repository V1Get Get

get

Get option for bundle product

Path parameters
skustringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
get
/V1/bundle-products/{sku}/options/{optionId}
GET /V1/bundle-products/{sku}/options/{optionId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "option_id": "<integer>",
  "title": "<string>",
  "required": "<boolean>",
  "type": "<string>",
  "position": "<integer>",
  "sku": "<string>",
  "product_links": [
    {
      "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>"
    },
    {
      "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>"
    }
  ],
  "extension_attributes": "<object>"
}

bundle Product Option Repository V1Delete By Id Delete

delete

Remove bundle option

Path parameters
skustringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
/V1/bundle-products/{sku}/options/{optionId}
DELETE /V1/bundle-products/{sku}/options/{optionId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true

bundle Product Option Management V1Save Put

put

Add new option for bundle product

Path parameters
optionIdstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"option":{"option_id":"<integer>","title":"<string>","required":"<boolean>","type":"<string>","position":"<integer>","sku":"<string>","product_links":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"extension_attributes":"<object>"}}
Responses
200

OK

application/json
Responseobject
put
/V1/bundle-products/options/{optionId}
PUT /V1/bundle-products/options/{optionId} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 324

{
  "option": {
    "option_id": "<integer>",
    "title": "<string>",
    "required": "<boolean>",
    "type": "<string>",
    "position": "<integer>",
    "sku": "<string>",
    "product_links": [
      {
        "value": "<Error: Too many levels of nesting to fake this schema>"
      },
      {
        "value": "<Error: Too many levels of nesting to fake this schema>"
      }
    ],
    "extension_attributes": "<object>"
  }
}
66689314