Docs › API reference

API reference: objects

The fields of products, variants, quotes, orders, shipments, invoices and events.

Fields not listed here are reserved for future use and are currently null or empty. New fields may be added at any time, so ignore fields you do not know.

Product

Field
id odp_…
object product
od_code Our product code, for example OD-000127
type blank (catalog product), custom, or design (your own design)
title, description Name and description
status live
production_days Production time in business days
min_qty Minimum quantity per order (1 means none)
shipping_profile type (flat, live_rate, included, freight_quote), amount (flat rate per order, or null), description
decoration method: how it is decorated
options For example [{"name": "Size", "values": ["S", "M", "L"]}, {"name": "Colour", "values": ["Black", "Navy"]}]
images [{"url", "alt", "view", "is_primary"}]. For your designs, the mockup of your design in its main colour
net_price_range List calls only: min, max, currency
variant_count List calls only
variants Single-product calls only: a list of variants
created_at, updated_at Times

Variant

One colour and size of a product: the thing you order.

Field
od_sku Our SKU, for example OD-000125-D1001-BLK-L
partner_sku Your own SKU for your designs, or null
product_id odp_…
title Product, colour, size
color, size Colour name and size
net_price What you pay per piece
net_price_effective_at When this NET price was last set
suggested_retail_price Your price for your designs, or our suggestion, or null
min_qty The product's minimum quantity
available true while the variant is offered
orderable true when you can order it now (live, active and priced)
unavailable_reason Why it cannot be ordered, or null

Quote

Field
id odq_… (test_odq_… in test mode)
object quote
livemode true for live keys
status open or expired
recipient The address as we read it
items Order lines
shipping profile (flat, live_rate or included) and amount
tax_details state, rate (for example "0.0825"), reason (taxable or state_not_collected), basis (retail_price in California, net in other taxed states)
totals subtotal, shipping, tax, card_fee ("0.00"), total, currency
notes, priced_at, expires_at, created_at

Order

Field
id odo_… (test_odo_… in test mode)
object order
livemode true for live orders
order_number Our order number (live orders)
external_id Your order number
status accepted, on_hold, in_production, partially_shipped, shipped, delivered, cancelled or refunded
tracking_status pending or available
channel Where the order came from, for example api or portal
metadata Your metadata
recipient The delivery address
items Order lines
shipping amount
tax_details As on a quote
totals subtotal, shipping, tax, card_fee, total, currency
invoice number, status, issued_at (live orders)
requested_in_hands_date, notes What you sent
hold While on_hold: reason
cancellable true while you can still cancel
cancellable_until When the cancel window closes
shipments Shipments so far
created_at, updated_at Times

Order line

Field
line_number 1, 2, 3…
external_line_id Your line id, if you sent one
od_sku, partner_sku The SKU ordered
title, product_id What it is
quantity How many
unit_price Your NET price per piece
amount unit_price × quantity
retail_price The retail price you sent, or null
production_days Production time in business days

Shipment

Field
id shp_…
object shipment
carrier For example ups, usps, fedex
service The carrier service
tracking_number, tracking_url Tracking
status in_transit or delivered (or the carrier's status)
shipped_at, delivered_at Times

Invoice

Field
id inv_…
object invoice
number Invoice number
status For example issued, paid
issued_at, due_date When it was issued and when it is due
total, amount_paid, credited, balance, currency Money
order_id, order_number The order

Event

Field
id evt_… (the webhook-id header)
object event
type order.created, order.shipped, order.cancelled or ping
livemode Test or live
created_at When it happened
data order; for order.shipped also tracking_number and carrier
Need a hand? Partners: your account manager's details are on the Overview tab of your portal. Everyone else: call (877) 737-8191 or email support@promogator.com.
Compare /

Compare Products

Highlighted rows = products differ on this attribute