Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Prefix the value with "ApiKey" to indicate the custom authorization type

Body

application/json

Create body. Package settings and category rules go under rules.

Request body for creating a package via Packages V2. Package settings and category rules must be sent under rules (rules.package + rules.categories) — not as top-level fields. Omit rules entirely to use package-setting defaults (approvalRequired/requireJustification/automaticOrder=false, deliverySetting=PERSON) and no category rules.

name
string
required

Display name of the package

Minimum string length: 1
Example:

"Engineering Starter Kit"

instructions
string

Optional employee-facing instructions shown at order time (max 2000 characters).

Maximum string length: 2000
Example:

"Bring your own dongle"

skuIds
string<uuid>[]

SKU UUIDs included in this package (legacy flat SKU path).

skuLines
object[]

Per-SKU region lines for the package (vendorCode, vendorSku, regionIds).

bundleRefs
object[]

Bundle references to assign on create. Each entry is a product group id (BUNDLE type) and display sortOrder. Omit to create with no bundle lines.

rules
object

Nested package settings and category quantity rules. Use rules.package for order/approval/justification/delivery and rules.categories for per-category quantity rules.

usedEquipmentPreferences
object[]

Used-equipment preferences per category (e.g. NEW_ONLY, used-first, in-stock-only). Omit to create with no preferences.

Response

Package created successfully (response uses nested rules)

Full package returned by V2 get / create / patch. Package settings and category rules are nested under rules (not top-level). Shape: rules.package (automaticOrder, approvalRequired, requireJustification, deliverySetting, defaultOfficeId) and rules.categories (categoryCode, quantity, optional, …).

id
string<uuid>
required

Unique identifier of the package

Example:

"3a68a467-8733-4c8d-a942-16ed7ec33018"

slug
string
required

URL-safe unique identifier for the package

Example:

"engineering-starter-kit"

name
string
required

Display name of the package

Example:

"Engineering Starter Kit"

active
boolean
required

Whether the package is active

Example:

true

itCloset
boolean
required

When true, the package is intended for IT closet / office stock

Example:

false

regions
object[]
required

Stored regions for this package (from package_region)

skuLines
object[]
required

Category SKU lines with per-SKU region scoping

bundleLines
object[]
required

Bundle references attached to this package

fallbackLines
object[]
required

Fallback lines placeholder for future package redesign phases

rules
object
required

Nested rules object. Always present on detail. package holds order/approval/justification/delivery settings; categories holds per-category quantity rules (empty list when none).

usedEquipmentPreferences
object[]
required

Used-equipment preferences per category

assignedTo
object
required

People assigned to this package

friendlyId
string

Human-friendly package identifier (PKG-*)

Example:

"PKG-260914-TEST0001"

instructions
string

Optional employee-facing instructions shown at order time (max 2000 characters). Null on the detail response when the package has none.

Example:

"Bring your own dongle"

createdAt
string<date-time>

Timestamp when the package was created

Example:

"2026-01-01T00:00:00Z"

updatedAt
string<date-time>

Timestamp when the package was last updated

Example:

"2026-01-02T00:00:00Z"