For the complete documentation index, see llms.txt. This page is also available as Markdown.

Partially update a bundle chapter product

Not usable for changing an association — use PUT instead.

Partial update is served by the expanded representation, in which bundle_chapter and product are nested objects rather than identifiers. Sending either field as an identifier fails validation with 400; sending either as an object passes validation but is not supported by the endpoint and fails as a server error. Only an empty body ({}) succeeds; it changes nothing and returns the association unmodified, in the expanded representation.

patch
/bundle_chapter_products/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the bundle chapter product association.

Body

The payload accepted by partial update. Because partial update is served by the expanded representation, bundle_chapter and product are expected as nested objects rather than identifiers — sending them as identifiers fails validation, and sending them as nested objects is not supported by the endpoint and results in a server error. In practice only an empty object ({}) succeeds, and it leaves the association unchanged. Use PUT to change an association.

Other propertiesanyOptional
Responses
200

The unchanged bundle chapter product, in the expanded representation.

application/json

The expanded representation of a chapter–product association: one miscellaneous product offered as a selectable option inside one bundle chapter. Returned by list, retrieve, and partial update. Create and update return the flat BundleChapterProductReference instead.

pkintegerRead-onlyOptional

The unique identifier of the association.

patch/bundle_chapter_products/{id}/
PATCH /api/v1/remote/1/bundle_chapter_products/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "pk": 1,
  "bundle_chapter": {
    "pk": 1,
    "name": "text",
    "slug": "text",
    "bundle_product": 1,
    "default_product": null,
    "attribute_set": 1,
    "order": 0,
    "is_active": true,
    "is_required": true,
    "is_form_required": false,
    "attributes": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "attributes_kwargs": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "attr_key": [
      {
        "pk": 42,
        "key": "color",
        "name": "Color",
        "data_type": "dropdown",
        "default_value": null,
        "is_required": true,
        "is_visible": true,
        "is_searchable": true,
        "is_filterable": true,
        "is_variant": true,
        "is_variant_listable": true,
        "is_form_required": false,
        "is_form_field_required": false
      }
    ]
  },
  "product": {
    "pk": 1,
    "name": "text",
    "base_code": null,
    "sku": "text",
    "product_type": "-1",
    "is_active": true,
    "parent": null,
    "attributes": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "attributes_kwargs": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "extra_attributes": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "is_seller_product": true,
    "group_products": [
      1
    ],
    "productimage_set": [
      {
        "pk": 1,
        "status": "text",
        "image": "text",
        "order": 1,
        "created_date": "2026-01-01T00:00:00.000Z",
        "specialimage_set": [
          {}
        ]
      }
    ],
    "attribute_set": 1,
    "custom_attribute_set": null,
    "is_listable": true,
    "listing_code": null,
    "data_source": null,
    "absolute_url": null,
    "is_form_required": true
  }
}

Last updated

Was this helpful?