Create pack

What is it for?

Creates a new pack (kit) grouping several products.

Conditions

  • Requires authentication.
  • Validations:
    • The pack MUST have at least 1 product in "items":
    • Error: invalid field (HTTP 422)
    • Message: "Cannot create a pack with no items."
    • All product_id values must exist and belong to your account:
    • If any product does not belong to you, the operation will fail.
    • After creation: version 1 of the pack is automatically generated.

Parameters

Fill in the fields in Body Params, Query Params and/or Path Params as applicable.

Expected response

HTTP 201 → { "id": 42 }

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Field title.

items
array of objects

Campo items.

items
Responses

400

Malformed request

401

Unauthorized (invalid or expired token)

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json