Skip to main content
POST
Create a buying group order

Authorizations

x-api-key
string
header
required

Your API key, starting with ct_key_.

x-api-secret
string
header
required

Your API secret, starting with ct_secret_.

Body

application/json
orderDate
string<date>
required

YYYY-MM-DD.

Example:

"2026-10-01"

retailer
string
required

Store name, such as Best Buy.

Minimum string length: 1
Example:

"Best Buy"

orderNumber
string
required

Must be unique across your orders. Surrounding spaces are trimmed.

Required string length: 1 - 100
Example:

"BBY01-123456"

buyingGroup
string
required

Buying group ID, e.g. bfmr. See buying group IDs.

Required string length: 1 - 100
Example:

"bfmr"

status
enum<string>
required
Available options:
purchased,
shipped,
partially_delivered,
delivered,
partially_received,
received,
partially_paid,
issue,
paid,
cancelled
Example:

"purchased"

orderLineItems
object[]
required
Required array length: 1 - 10 elements
orderTime
string | null

HH:mm or HH:mm:ss, in your local time.

Pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d{1,6})?)?$
Example:

"14:30"

shipping
integer

Shipping in cents. Defaults to 0.

Required range: x >= 0
tax
integer

Tax in cents. Defaults to 0.

Required range: x >= 0
Example:

4800

discount
integer

Discount in cents. Defaults to 0.

Required range: x >= 0
payments
object[]

The cards the order was paid with, its own card first. Splitting an order across cards adds more payments, each with an amount.

Maximum array length: 5
retailerAccount
string

The retailer account the order was placed with, such as its email.

Maximum string length: 100
notes
string
Maximum string length: 1000
redemptionCodes
object[]

Gift card codes, vouchers, or credits for the order. Write-only: responses don't include them. Your plan's per-order limit applies.

Maximum array length: 50

Response

The created order.

data
object
required