Set a bundle's components

PUT/api/v1/catalog-items/{bundle_id}/components

Replace a bundle's component set wholesale.

Operation ID: set_bundle_components_api_v1_catalog_items__bundle_id__components_put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

bundle_idstringrequired

Request body

componentsarray · BundleComponentInputBundleComponentInput
2 fields
component_item_idstringrequired

Catalog item in the bundle.

qtynumber | string

Quantity of this component.

Responses

200Successful Response

successboolean
messagestring
codestring
dataBundleComponentsResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject