Submit Order - Send order details including products and shipping address
Validation - We validate product URLs and shipping address
Queued - Order is queued for processing
Processing - Our system places the order with the retailer
Completed - You receive confirmation with tracking details
Order processing flow
Product URLs
Provide direct product URLs. Zinc resolves the retailer from the URL itself, and will attempt checkout at most online stores — not only the ones in the retailer catalog. That catalog is the set Zinc verifies with daily test orders, not the limit of what it can buy from: a store missing from it is not unsupported.Each product must include:
url - Direct link to the product page
Make sure product URLs are accessible and lead directly to the product page, not search results or category pages.
Holding a URL you are unsure about? GET /retailers/check answers whether Zinc will order from that store and ship it to a given country, before you submit. It applies the same gates as this endpoint, so the two cannot disagree.
An order can contain at most 10 products. More than that is rejected with
422 / validation_error — Order cannot contain more than 10 items. The limit
is on entries in the products array, not units: one entry with quantity: 50
still counts as one. See
The Products Array.
Optionally, the product can include:
quantity - Number of items to order (integer, default 1)
variant - A list of label, value pairs indicating a variant of a product.
For example, if you’re ordering a shirt. The shirt may come in different colors and different sizes.
To indicate a red medium shirt, you would do:
Make sure the strings used for both the label and value match up to what is
present on the retailer website. For example, if a medium is indicated by the value M, use M
for the value.
condition_in / condition_not_in - Condition allow/deny lists. Limit
which offers are eligible by item condition — useful for buying only new
items, or for accepting used items down to a floor. See
Condition Filtering.
Products Zinc cannot buy
Some items can’t be purchased through Zinc no matter which account places the order.
They fail with product_unavailable at checkout rather than being rejected when you
submit, so filter them out of your catalog up front:
Digital goods — e-books, downloads, digital video
Digital gift cards — eGift cards, codes sent by email, and printable or virtual cards. Physical gift cards can be ordered.
Customized or personalized items — anything configured on the product page
Retailer-assembled bundles
Groceries — Amazon Fresh and Whole Foods
Pharmacy items
Services — installation, at-home service, and similar add-ons
Magazine subscriptions
Restricted items — anything the retailer prohibits from automated purchase
An offer can also be unbuyable for the account placing the order: business-only offers
can’t be bought on a consumer account, and some consumer-only items can’t be bought on
a business account. Both surface as product_unavailable. See
Retailer Accounts if you’re placing orders on your own account.
Shipping Address
All orders require a valid shipping address. Addresses are validated using Google’s Address Validation API.Required fields:
first_name and last_name
address_line1 (use address_line2 for apartment/suite, optional)
city
postal_code — for a US address this must be a ZIP: five digits, optionally +4 (98632 or 27517-8761)
phone_number
Optional fields:
state — omit for countries that don’t use states/provinces
country — ISO 3166-1 alpha-2 code (e.g. US, CA, GB, DE); defaults to US
International shipping is supported. Provide the destination country as an ISO 3166-1 alpha-2 code; state is optional where it doesn’t apply.
Which account places the order
By default Zinc places the order on its own accounts and you pay for the item out of
your wallet. To have it placed on your own retailer account instead, pass that account’s
short_id as retailer_credentials_id — orders on your own account are charged the API
fee only. Zinc never selects one of your saved accounts for you, so send the field on
every order that needs it. See Retailer Accounts.
Payment
By default, orders draw from your prepaid wallet — no payment object needed. To charge your end-customer’s card instead and keep a margin, send a payment object with mode: "connect". See the Stripe Connect guide for the full flow. To pay the retailer with a card from your own Link wallet, use mode: "link".
Field
Required
Description
mode
"wallet" (default), "connect", or "link".
payment_method
connect
Connect: your end-customer’s saved payment-method id on your connected account. Link (optional): which card in your Link wallet pays; omit it to use your default Link card, or the first one listed if none is the default.
customer
connect
Your end-customer’s Stripe Customer id (cus_…) on your connected account.
margin
connect
Your markup: { "type": "flat", "value": <cents> } or { "type": "percent", "value": <percent> }.
In connect mode, the authorization hold is sized from max_price, and the card is charged the actual total when Zinc places the order with the retailer.
Link mode pays the retailer with a one-time card issued from your own Link wallet, under your card’s own billing address. You approve each purchase in Link, and your Zinc wallet is charged only the API fee.Before your first Link order, connect your Link account in the dashboard under Settings → Payments. The cards in your Link wallet and their ids are listed there too.
The order isn’t created right away. Zinc asks Link for a purchase of up to max_price and answers 402 with payment_required:
{ "error": { "code": "payment_required", "message": "Approve this purchase in Link to place the order. Nothing is charged until the retailer order is placed.", "details": { "payment": { "id": "lpay_...", "status": "requires_action", "pay_url": "https://app.link.com/activity/approve/lsrq_...", "expires_at": "2026-11-19T06:59:58.150750" } } }}
Approve the purchase in Link at pay_url within 30 minutes (expires_at, UTC). If nobody approves it in time, nothing is ordered or charged.
Zinc creates the order once you approve, and it continues like any other order: you receive order.started, then order.placed or order.failedwebhooks. To find it without webhooks, put your own id in metadata and list orders with metadata_key and metadata_value.
At checkout the retailer charges the one-time card for the actual total, up to max_price. If the order fails, Zinc cancels the purchase in Link.
Send an idempotency_key. Retrying the request before you approve returns the same pay_url rather than a second purchase to approve.
Link applies its own per-purchase, daily, and 30-day spending limits to each Link account. A max_price above what your account allows is refused with 400.
A Link order is refused with 400 when:
no Link account is connected, or Link needs you to reconnect it;
it’s made in test mode;
there’s no shipping_address, or the retailer isn’t a US store;
it sets retailer_credentials_id: an order on your own retailer account pays with the card saved there;
the retailer is Amazon, or Zinc can’t pay that retailer with a card at checkout.
Fulfillment preferences
An order is strict by default: if any rule can’t be met — an item can’t be
bought, the retailer caps the quantity, the gift option isn’t offered — the whole
order fails and nothing ships.The optional fulfillment object relaxes that one concern at a time. Each key
takes the mode to hold that rule at, and the only mode today is "best_effort".
Anything you leave out stays strict, so an omitted fulfillment block and an
empty one mean exactly the same strict order.
Concern
With "best_effort"
Strict failure it replaces
items
An item that can’t be bought is skipped and the rest ship. That item’s status becomes skipped.
max_price is never relaxed. No fulfillment setting will let an order exceed the
ceiling you set.
Two things hold no matter what you relax:
An empty cart still fails. If every item ends up skipped, the order fails
with cart_empty rather than placing an order for nothing.
Unknown keys and unknown modes are rejected, not ignored. A typo like
"itmes" or "best-effort" returns a 422, so a mistake can never quietly
leave a rule strict when you meant to relax it.
Whatever was actually relaxed is reported back in fulfillment.concessions on
the order, so a placed order always tells you what it did — see
Fulfillment.
fulfillment is also accepted on POST /agent/orders, which shares the same order-creation schema.
Merchant rules
Three fulfillment fields go the other way: they make an order stricter by controlling which sellers it may be bought from.
Field
Effect
excluded_merchants
Up to 20 merchants the order must never be bought from.
included_merchants
Up to 20 merchants the order may only be bought from. Exclusions still win: a merchant on both lists, or on your account’s blocklist, is never used. Other offer rules (condition, delivery time, the price cap) still apply.
first_party_only
true buys only offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller, including ones the retailer fulfills. Replaces both lists and your account blocklist for this order.
Each merchant entry is either a seller’s display name as shown on the retailer’s storefront, or an Amazon Business merchant id (amzn1.…). Names are matched ignoring case and spacing. Merchant ids only apply to Amazon Business orders; on any other order they’re rejected with a validation_error asking for the display name instead.
excluded_merchants is added to any blocklist already on your account. It can bar more merchants but can never allow one your account already bars. The order echoes each rule back under fulfillment.If no allowed offer is left, the item fails as product_unavailable. On orders placed with a retailer account or on Walmart, the failure’s error_details names the barred sellers (barred_sellers) and the rule that barred them (merchant_rule).
Merchant rules apply to Amazon Business orders, Amazon orders placed with retailer_credentials_id, and Walmart orders. They’re ignored for other orders.
Optional Order Data
You can include additional data with your order for tracking and reference purposes.
This data will be used by our system as input to any fields during checkout that match.
po_number - Your internal purchase order number for tracking and reconciliation
is_gift - Mark the order as a gift (boolean, default false), suppressing
prices on the packing slip. See Gift orders for the failure
behavior when a retailer offers no gift option.
gift_message - Optional note for the recipient, entered into the retailer’s
gift-message field at checkout (string, max 240 characters). Requires is_gift
to be true.
handling_days_max - Optional ceiling on a seller’s handling days (integer,
minimum 1). Offers from sellers whose handling time exceeds this are skipped.
Omit or send null for no limit.
If you only need data for internal reference, use the metadata field instead.
Gift orders
Setting is_gift: true suppresses prices on the packing slip. Because a gift that
arrives with prices visible to the recipient is worse than no order at all, this is
treated as a hard requirement rather than a preference:
If the retailer’s checkout offers no free gift option, the order fails with
gift_option_unavailable instead of being placed as a normal order. Handle this
error type if you offer gifting as an optional add-on — see
Order Processing Errors.
If gifting is a nice-to-have rather than the point of the order, you can opt out
of that failure instead of catching it: send fulfillment: { "gift": "best_effort" }
and a retailer with no gift option gets a normal order rather than none. See
Fulfillment preferences.gift_message is best-effort by contrast: it’s delivered where the retailer’s
checkout offers a gift-message field, and the order is still placed without it
where one isn’t available.
{ "is_gift": true, "gift_message": "Happy birthday! Hope you enjoy it."}
is_gift and gift_message are also accepted on POST /agent/orders, which shares the same order-creation schema.
Response
A successful order creation returns:
id - Unique order identifier (UUID)
status - Current order status (initially “pending”)
items - Array of order items with their details
shipping_address - Confirmed shipping address
created_at - Timestamp of order creation
Use the order id to retrieve order status and updates.
Authorizations
Authorization
string
header
required
Zinc API key (Bearer zn_...)
Headers
Idempotency-Key
string | null
Optional key (max 36 characters) that makes this request safe to retry after a timeout or dropped connection. Equivalent to the idempotency_key body field: send either one, or both with the same value. A header and body field that differ are rejected with 400 before anything is created or charged. Use a fresh unique value (e.g. a UUID) for each distinct order, and the same value when retrying that order. Keys never expire. Keys are scoped to your account. The first request with a key creates the order; a later request with the same key creates no second order and charges nothing, whatever its body says, and answers 409 already_exists with the original order's id in error.details.order_id — read it with GET /orders/{order_id}. order_id is absent when the two requests arrived concurrently, or when the key was already used for a different payment.mode=card basket; either way the key is spent, so use a new one for a new order. A payment.mode=card order whose payment page is still open answers with its original 402 instead.
Maximum string length: 36
authorization
string | null
Body
application/json
Request body for POST /orders.
products
OrderProduct · object[]
required
Minimum array length: 1
Show child attributes
max_price
integer
required
Maximum price (in cents) allowed for an order before it is finalized.
Required range: x >= 0
shipping_address
Address · object | null
Where to ship. Required for wallet and Connect orders.
Show child attributes
idempotency_key
string | null
Optional idempotency key to prevent duplicate orders. If not provided, one will be generated.
Maximum string length: 36
retailer_credentials_id
string | null
Optional short ID (e.g. 'zn_acct_XXXXXXXX') of one of your own saved retailer accounts to place this order on. The item is then paid for by the payment method saved on that account, and your wallet is charged the API fee only — so the balance needed to place the order is the fee, not max_price + fee. Omit it and the order is placed on a Zinc account and funded from your wallet; Zinc never substitutes one of your saved accounts, so send this field on every order that has to run on yours.
metadata
Metadata · object | null
Optional metadata to attach to the order. Can contain arbitrary key-value pairs.
po_number
string | null
Optional purchase order number for the order.
handling_days_max
integer | null
Optional ceiling on a seller's shipping and handling days. Omit or send null for no limit.
Required range: x >= 1
is_gift
boolean
default:false
Mark the order as a gift, suppressing prices on the packing slip. If the retailer's checkout offers no free gift option, the order FAILS with gift_option_unavailable rather than being placed as a normal order — a gift that arrives with prices visible to the recipient is treated as worse than no order.
gift_message
string | null
Optional note for the recipient, entered into the retailer's gift-message field at checkout. Requires is_gift to be true. Max 240 characters. Delivered where the retailer's checkout offers a gift message; the order is still placed without it where one isn't available.
Maximum string length: 240
payment
OrderPayment · object | null
Optional payment block. Omit for prepaid-wallet billing (default).
Show child attributes
customer_notifications
CustomerNotifications · object | null
Opt in to emailing the end customer order updates (and unlock the public tracking page for this order). Adds a per-order surcharge. Omit for no customer notifications (default).
Show child attributes
fulfillment
FulfillmentPreferences · object | null
Loosen the order's strict-by-default rules. Omit for today's behaviour: any rule that can't be met fails the order. Set a rule (gift, items, quantity) to best_effort to have the order placed anyway; anything left unset stays strict. Whatever was relaxed is reported back in fulfillment.concessions on the order. max_price is never relaxed. excluded_merchants, included_merchants and first_party_only tighten instead: which merchants this order may be bought from. shipping picks a preferred delivery speed.
Show child attributes
Response
Successful Response
Response model for order data.
id
string<uuid>
required
status
enum<string>
required
Available options:
pending,
in_progress,
order_placed,
order_failed,
cancelled,
cancelled_by_retailer
max_price
integer
required
attempts
integer
required
items
OrderItemResponse · object[]
required
Show child attributes
shipping_address
Shipping Address · object
required
retailer_credentials_id
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
metadata
Metadata · object
po_number
string | null
handling_days_max
integer | null
is_gift
boolean
default:false
gift_message
string | null
retailer_credentials_uuid
string | null
buying_account
OrderBuyingAccount · object | null
The retailer login an order was placed from. Admin-only.
Covers global (Zinc-owned) credentials too, which the customer-facing
retailer_credentials_id deliberately hides. The password and TOTP never
ride on this payload: the dashboard fetches them on demand through the
audit-logged POST /admin/accounts/{short_id}/reveal-credential.
Show child attributes
job_result
OrderJobResult · object | null
Fulfillment result and price breakdown for a completed or failed order; null while processing.
Show child attributes
merchant_order_ids
string[]
The retailer's own order number(s) for this order (e.g. an Amazon 113-… ID), as recorded when it was placed. Empty while processing, or if the order never reached the retailer.
tracking_numbers
TrackingNumberResponse · object[]
Show child attributes
created_by
string | null
user_id
integer | null
returns
ReturnRequestSummary · object[]
Show child attributes
cases
CaseSummary · object[]
Support cases on this order, newest first. See /cases.
Show child attributes
connect
OrderConnectInfo · object | null
Stripe Connect charge details when this order was paid via Connect; null for prepaid-wallet orders.
Show child attributes
payment
OrderPaymentInfo · object | null
Card hold details when this order was paid by card outside the wallet and Connect; null for wallet and Connect orders.
Show child attributes
customer_notifications
CustomerNotificationStatus · object | null
End-customer email-notification status when the order opted into the notifications add-on; null when it didn't.
Show child attributes
fulfillment
OrderFulfillment · object
gift/items/quantity: the mode this order asked for on each rule (all null = strict). concessions: every rule that actually was relaxed, with the worker's code and the item it concerned. Empty concessions means the order was fulfilled exactly as requested.
Show child attributes
status_checked_at
string<date-time> | null
When Zinc last got an answer about this order's status or tracking from the retailer or a carrier (UTC). An answer of 'no tracking yet' counts; failed attempts do not. Null until the first successful check.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Zinc Docs","colors":{"primary":"#386DF0","light":"#FFFEF9","dark":"#292724"},"logo":{"light":"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/light.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=633d13238d6799080400fbb91b9d08b7","dark":"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/dark.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=2838196e697c37fe7cdfd161d33f0650","href":"https://zinc.com"},"favicon":"https://mintcdn.com/zinc/6WBnGJAdgAZ2bveD/favicon.svg?fit=max\u0026auto=format\u0026n=6WBnGJAdgAZ2bveD\u0026q=85\u0026s=ff98cf52a415bcea465dcad9a6720435","navbar":{"links":[{"href":"mailto:support@zinc.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.zinc.com"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zinc","hasAudioNarration":false,"actualSubdomain":"zinc","customDomains":["www.zinc.com"],"gitSource":{"type":"github","owner":"zincio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b00d4cb41f45f08e2267099","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Orders","count":14},{"language":"default","tag":"Object Reference","count":13},{"language":"default","tag":"Objects","count":13},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Cases","count":8},{"language":"default","tag":"Agent Sandbox","count":8},{"language":"default","tag":"Product Data","count":6},{"language":"default","tag":"Introduction","count":5}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#footer{display:none}:root{--primary: 56 109 240;--primary-light: 255 254 249;--primary-dark: 41 39 36;--background-light: 255 254 249;--background-dark: 41 39 36;--grey-900: #29272480 !important}"},{"filePath":"custom.css","content":"table th{text-align:left!important}.frame{background-color:rgba(255, 254, 249, 0.5)!important}.dark .frame{background-color:rgba(41, 39, 36, 0.25)!important}.frame [class*=\"bg-grid\"]{display:none!important}h3+.frame img,h3+.frame video{aspect-ratio:2048 / 1350!important;object-fit:contain;width:100%}"}]}
{"page":{"pagePath":"v2/api-reference/orders/create-order","slug":"/v2/api-reference/orders/create-order","pageMetadata":{"title":"Create Order","description":"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.","openapi":"versions/latest.json POST /orders","href":"/v2/api-reference/orders/create-order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Info,OptimizedImage,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create a new order for processing. Orders are queued and processed asynchronously.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`On this page:`}),` `,_jsx(_components.a,{href:`#request-flow`,children:`Request flow`}),` · `,_jsx(_components.a,{href:`#product-urls`,children:`Product URLs`}),` · `,_jsx(_components.a,{href:`#products-zinc-cannot-buy`,children:`Products Zinc cannot buy`}),` · `,_jsx(_components.a,{href:`#shipping-address`,children:`Shipping address`}),` · `,_jsx(_components.a,{href:`#which-account-places-the-order`,children:`Which account places the order`}),` · `,_jsx(_components.a,{href:`#payment`,children:`Payment`}),` · `,_jsx(_components.a,{href:`#fulfillment-preferences`,children:`Fulfillment preferences`}),` · `,_jsx(_components.a,{href:`#merchant-rules`,children:`Merchant rules`}),` · `,_jsx(_components.a,{href:`#optional-order-data`,children:`Optional order data`}),` · `,_jsx(_components.a,{href:`#gift-orders`,children:`Gift orders`}),` · `,_jsx(_components.a,{href:`#response`,children:`Response`})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-flow`,children:`Request Flow`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Submit Order`}),` - Send order details including products and shipping address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Validation`}),` - We validate product URLs and shipping address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Queued`}),` - Order is queued for processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Processing`}),` - Our system places the order with the retailer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Completed`}),` - You receive confirmation with tracking details`]}),`\n`]}),`\n`,_jsx(Frame,{caption:`Order processing flow`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=e1dce1f7b158000ba79bad1ecd8fabae`,alt:`Order flow diagram`,\"data-og-width\":`425`,width:`425`,\"data-og-height\":`539`,height:`539`,\"data-path\":`images/orders.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=280\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=83533ceaabf0624a6061e64be41e1f26 280w, https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=560\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=011818bf48e79f12a6acdd9e91c5d2d5 560w, https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=840\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=95fa3f3061fab3b6fd45aaf159a68d1d 840w, https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=1100\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=eee91e13ce687d4e79d5cc00134388ad 1100w, https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=1650\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=fb94dd9cd51e958827e4047275eb9b99 1650w, https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/images/orders.png?w=2500\u0026fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=03e13067ef2079dfaabc4ab8766a1f5b 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`product-urls`,children:`Product URLs`}),`\n`,_jsxs(_components.p,{children:[`Provide direct product URLs. Zinc resolves the retailer from the URL itself, and will attempt checkout at most online stores — not only the ones in the `,_jsx(_components.a,{href:`/v2/api-reference/retailers/list-retailers`,children:`retailer catalog`}),`. That catalog is the set Zinc verifies with daily test orders, not the limit of what it can buy from: a store missing from it is not unsupported.`]}),`\n`,_jsx(_components.p,{children:`Each product must include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`url`}),` - Direct link to the product page`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Make sure product URLs are accessible and lead directly to the product page, not search results or category pages.`})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Holding a URL you are unsure about? `,_jsx(_components.a,{href:`/v2/api-reference/retailers/check-retailer`,children:_jsx(_components.code,{children:`GET /retailers/check`})}),` answers whether Zinc will order from that store and ship it to a given country, before you submit. It applies the same gates as this endpoint, so the two cannot disagree.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`An order can contain at most `,_jsx(_components.strong,{children:`10 products`}),`. More than that is rejected with\n`,_jsx(_components.code,{children:`422`}),` / `,_jsx(_components.code,{children:`validation_error`}),` — `,_jsx(_components.code,{children:`Order cannot contain more than 10 items`}),`. The limit\nis on entries in the `,_jsx(_components.code,{children:`products`}),` array, not units: one entry with `,_jsx(_components.code,{children:`quantity: 50`}),`\nstill counts as one. See\n`,_jsx(_components.a,{href:`/v2/api-reference/orders/multiple-products-quantities#products-array`,children:`The Products Array`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Optionally, the product can include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`quantity`}),` - Number of items to order (integer, default 1)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`variant`}),` - A list of label, value pairs indicating a variant of a product.\nFor example, if you’re ordering a shirt. The shirt may come in different colors and different sizes.\nTo indicate a red medium shirt, you would do:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Red\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Medium\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Make sure the strings used for both the label and value match up to what is\npresent on the retailer website. For example, if a `,_jsx(_components.code,{children:`medium`}),` is indicated by the value `,_jsx(_components.code,{children:`M`}),`, use `,_jsx(_components.code,{children:`M`}),`\nfor the value.`]})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`condition_in`}),` / `,_jsx(_components.strong,{children:`condition_not_in`}),` - Condition allow/deny lists. Limit\nwhich offers are eligible by item condition — useful for buying only new\nitems, or for accepting used items down to a floor. See\n`,_jsx(_components.a,{href:`/v2/api-reference/orders/multiple-products-quantities#condition-filtering`,children:`Condition Filtering`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`products-zinc-cannot-buy`,children:`Products Zinc cannot buy`}),`\n`,_jsxs(_components.p,{children:[`Some items can’t be purchased through Zinc no matter which account places the order.\nThey fail with `,_jsx(_components.code,{children:`product_unavailable`}),` at checkout rather than being rejected when you\nsubmit, so filter them out of your catalog up front:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Digital goods`}),` — e-books, downloads, digital video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Digital gift cards`}),` — eGift cards, codes sent by email, and printable or virtual cards. Physical gift cards can be ordered.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Customized or personalized items`}),` — anything configured on the product page`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Retailer-assembled bundles`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Groceries`}),` — Amazon Fresh and Whole Foods`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Pharmacy items`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Services`}),` — installation, at-home service, and similar add-ons`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Magazine subscriptions`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Restricted items`}),` — anything the retailer prohibits from automated purchase`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`An offer can also be unbuyable for the account placing the order: business-only offers\ncan’t be bought on a consumer account, and some consumer-only items can’t be bought on\na business account. Both surface as `,_jsx(_components.code,{children:`product_unavailable`}),`. See\n`,_jsx(_components.a,{href:`/v2/retailer-accounts`,children:`Retailer Accounts`}),` if you’re placing orders on your own account.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`shipping-address`,children:`Shipping Address`}),`\n`,_jsx(_components.p,{children:`All orders require a valid shipping address. Addresses are validated using Google’s Address Validation API.`}),`\n`,_jsx(_components.p,{children:`Required fields:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_name`}),` and `,_jsx(_components.code,{children:`last_name`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address_line1`}),` (use `,_jsx(_components.code,{children:`address_line2`}),` for apartment/suite, optional)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`city`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`postal_code`}),` — for a US address this must be a ZIP: five digits, optionally `,_jsx(_components.code,{children:`+4`}),` (`,_jsx(_components.code,{children:`98632`}),` or `,_jsx(_components.code,{children:`27517-8761`}),`)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`phone_number`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Optional fields:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),` — omit for countries that don’t use states/provinces`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`country`}),` — ISO 3166-1 alpha-2 code (e.g. `,_jsx(_components.code,{children:`US`}),`, `,_jsx(_components.code,{children:`CA`}),`, `,_jsx(_components.code,{children:`GB`}),`, `,_jsx(_components.code,{children:`DE`}),`); defaults to `,_jsx(_components.code,{children:`US`})]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`International shipping is supported. Provide the destination `,_jsx(_components.code,{children:`country`}),` as an ISO 3166-1 alpha-2 code; `,_jsx(_components.code,{children:`state`}),` is optional where it doesn’t apply.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`which-account-places-the-order`,children:`Which account places the order`}),`\n`,_jsxs(_components.p,{children:[`By default Zinc places the order on its own accounts and you pay for the item out of\nyour wallet. To have it placed on your own retailer account instead, pass that account’s\n`,_jsx(_components.code,{children:`short_id`}),` as `,_jsx(_components.code,{children:`retailer_credentials_id`}),` — orders on your own account are charged the API\nfee only. Zinc never selects one of your saved accounts for you, so send the field on\nevery order that needs it. See `,_jsx(_components.a,{href:`/v2/retailer-accounts`,children:`Retailer Accounts`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment`,children:`Payment`}),`\n`,_jsxs(_components.p,{children:[`By default, orders draw from your prepaid `,_jsx(_components.a,{href:`/v2/wallet`,children:`wallet`}),` — no `,_jsx(_components.code,{children:`payment`}),` object needed. To charge your end-customer’s card instead and keep a margin, send a `,_jsx(_components.code,{children:`payment`}),` object with `,_jsx(_components.code,{children:`mode: \"connect\"`}),`. See the `,_jsx(_components.a,{href:`/v2/connect`,children:`Stripe Connect`}),` guide for the full flow. To pay the retailer with a card from your own Link wallet, use `,_jsx(_components.a,{href:`#link-mode`,children:_jsx(_components.code,{children:`mode: \"link\"`})}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mode`})}),_jsx(_components.td,{}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"wallet\"`}),` (default), `,_jsx(_components.code,{children:`\"connect\"`}),`, or `,_jsx(_components.code,{children:`\"link\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_method`})}),_jsx(_components.td,{children:`connect`}),_jsx(_components.td,{children:`Connect: your end-customer’s saved payment-method id on your connected account. Link (optional): which card in your Link wallet pays; omit it to use your default Link card, or the first one listed if none is the default.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer`})}),_jsx(_components.td,{children:`connect`}),_jsxs(_components.td,{children:[`Your end-customer’s Stripe Customer id (`,_jsx(_components.code,{children:`cus_…`}),`) on your connected account.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`margin`})}),_jsx(_components.td,{children:`connect`}),_jsxs(_components.td,{children:[`Your markup: `,_jsx(_components.code,{children:`{ \"type\": \"flat\", \"value\": \u003ccents> }`}),` or `,_jsx(_components.code,{children:`{ \"type\": \"percent\", \"value\": \u003cpercent> }`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`In connect mode, the authorization hold is sized from `,_jsx(_components.code,{children:`max_price`}),`, and the card is charged the actual total when Zinc places the order with the retailer.`]}),`\n`,_jsx(Heading,{level:`3`,id:`connect-mode`,children:`Connect mode`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pm_1ExampleCard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cus_ExampleEndCustomer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"margin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"flat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`250`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`link-mode`,children:`Link mode`}),`\n`,_jsxs(_components.p,{children:[`Link mode pays the retailer with a one-time card issued from your own `,_jsx(_components.a,{href:`https://link.com`,children:`Link`}),` wallet, under your card’s own billing address. You approve each purchase in Link, and your Zinc wallet is charged only the API fee.`]}),`\n`,_jsxs(_components.p,{children:[`Before your first Link order, connect your Link account in the dashboard under `,_jsx(_components.a,{href:`https://app.zinc.com/settings/payments`,children:`Settings → Payments`}),`. The cards in your Link wallet and their ids are listed there too.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"products\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.walgreens.com/store/c/...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shipping_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order-8821\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The order isn’t created right away. Zinc asks Link for a purchase of up to `,_jsx(_components.code,{children:`max_price`}),` and answers `,_jsx(_components.code,{children:`402`}),` with `,_jsx(_components.code,{children:`payment_required`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment_required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Approve this purchase in Link to place the order. Nothing is charged until the retailer order is placed.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lpay_...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"requires_action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pay_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.link.com/activity/approve/lsrq_...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-19T06:59:58.150750\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Approve the purchase in Link`}),` at `,_jsx(_components.code,{children:`pay_url`}),` within 30 minutes (`,_jsx(_components.code,{children:`expires_at`}),`, UTC). If nobody approves it in time, nothing is ordered or charged.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Zinc creates the order`}),` once you approve, and it continues like any other order: you receive `,_jsx(_components.code,{children:`order.started`}),`, then `,_jsx(_components.code,{children:`order.placed`}),` or `,_jsx(_components.code,{children:`order.failed`}),` `,_jsx(_components.a,{href:`/v2/api-reference/introduction/webhooks`,children:`webhooks`}),`. To find it without webhooks, put your own id in `,_jsx(_components.code,{children:`metadata`}),` and list orders with `,_jsx(_components.code,{children:`metadata_key`}),` and `,_jsx(_components.code,{children:`metadata_value`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`At checkout`}),` the retailer charges the one-time card for the actual total, up to `,_jsx(_components.code,{children:`max_price`}),`. If the order fails, Zinc cancels the purchase in Link.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Send an `,_jsx(_components.code,{children:`idempotency_key`}),`. Retrying the request before you approve returns the same `,_jsx(_components.code,{children:`pay_url`}),` rather than a second purchase to approve.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Link applies its own per-purchase, daily, and 30-day spending limits to each Link account. A `,_jsx(_components.code,{children:`max_price`}),` above what your account allows is refused with `,_jsx(_components.code,{children:`400`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`A Link order is refused with `,_jsx(_components.code,{children:`400`}),` when:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`no Link account is connected, or Link needs you to reconnect it;`}),`\n`,_jsx(_components.li,{children:`it’s made in test mode;`}),`\n`,_jsxs(_components.li,{children:[`there’s no `,_jsx(_components.code,{children:`shipping_address`}),`, or the retailer isn’t a US store;`]}),`\n`,_jsxs(_components.li,{children:[`it sets `,_jsx(_components.code,{children:`retailer_credentials_id`}),`: an order on your own retailer account pays with the card saved there;`]}),`\n`,_jsx(_components.li,{children:`the retailer is Amazon, or Zinc can’t pay that retailer with a card at checkout.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`fulfillment-preferences`,children:`Fulfillment preferences`}),`\n`,_jsxs(_components.p,{children:[`An order is `,_jsx(_components.strong,{children:`strict by default`}),`: if any rule can’t be met — an item can’t be\nbought, the retailer caps the quantity, the gift option isn’t offered — the whole\norder fails and nothing ships.`]}),`\n`,_jsxs(_components.p,{children:[`The optional `,_jsx(_components.code,{children:`fulfillment`}),` object relaxes that one concern at a time. Each key\ntakes the mode to hold that rule at, and the only mode today is `,_jsx(_components.code,{children:`\"best_effort\"`}),`.\nAnything you leave out stays strict, so an omitted `,_jsx(_components.code,{children:`fulfillment`}),` block and an\nempty one mean exactly the same strict order.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Concern`}),_jsxs(_components.th,{children:[`With `,_jsx(_components.code,{children:`\"best_effort\"`})]}),_jsx(_components.th,{children:`Strict failure it replaces`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsxs(_components.td,{children:[`An item that can’t be bought is skipped and the rest ship. That item’s status becomes `,_jsx(_components.code,{children:`skipped`}),`.`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`product_not_found`}),`, `,_jsx(_components.code,{children:`product_out_of_stock`}),`, `,_jsx(_components.code,{children:`product_variant_unavailable`}),`, `,_jsx(_components.code,{children:`add_to_cart_failed`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`If the retailer caps an item below the quantity you asked for, buy the cap.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity_limit_exceeded`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gift`})}),_jsxs(_components.td,{children:[`If the retailer offers no free gift option, place a normal order instead. Requires `,_jsx(_components.code,{children:`is_gift: true`}),`.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gift_option_unavailable`})})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fulfillment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"best_effort\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quantity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"best_effort\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`max_price`}),` is never relaxed. No fulfillment setting will let an order exceed the\nceiling you set.`]})}),`\n`,_jsx(_components.p,{children:`Two things hold no matter what you relax:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`An empty cart still fails.`}),` If every item ends up skipped, the order fails\nwith `,_jsx(_components.code,{children:`cart_empty`}),` rather than placing an order for nothing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unknown keys and unknown modes are rejected, not ignored.`}),` A typo like\n`,_jsx(_components.code,{children:`\"itmes\"`}),` or `,_jsx(_components.code,{children:`\"best-effort\"`}),` returns a `,_jsx(_components.code,{children:`422`}),`, so a mistake can never quietly\nleave a rule strict when you meant to relax it.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Whatever was actually relaxed is reported back in `,_jsx(_components.code,{children:`fulfillment.concessions`}),` on\nthe order, so a placed order always tells you what it did — see\n`,_jsx(_components.a,{href:`/v2/api-reference/orders/get-order#fulfillment`,children:`Fulfillment`}),`.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`fulfillment`}),` is also accepted on `,_jsx(_components.a,{href:`/v2/api-reference/agent/create-order`,children:_jsx(_components.code,{children:`POST /agent/orders`})}),`, which shares the same order-creation schema.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`merchant-rules`,children:`Merchant rules`}),`\n`,_jsxs(_components.p,{children:[`Three `,_jsx(_components.code,{children:`fulfillment`}),` fields go the other way: they make an order stricter by controlling which sellers it may be bought from.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`excluded_merchants`})}),_jsx(_components.td,{children:`Up to 20 merchants the order must never be bought from.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`included_merchants`})}),_jsxs(_components.td,{children:[`Up to 20 merchants the order may `,_jsx(_components.em,{children:`only`}),` be bought from. Exclusions still win: a merchant on both lists, or on your account’s blocklist, is never used. Other offer rules (condition, delivery time, the price cap) still apply.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_party_only`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` buys only offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller, including ones the retailer fulfills. Replaces both lists and your account blocklist for this order.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Each merchant entry is either a seller’s display name as shown on the retailer’s storefront, or an Amazon Business merchant id (`,_jsx(_components.code,{children:`amzn1.…`}),`). Names are matched ignoring case and spacing. Merchant ids only apply to Amazon Business orders; on any other order they’re rejected with a `,_jsx(_components.code,{children:`validation_error`}),` asking for the display name instead.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fulfillment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"excluded_merchants\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Resellers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"amzn1.pa.o.EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`excluded_merchants`}),` is added to any blocklist already on your account. It can bar more merchants but can never allow one your account already bars. The order echoes each rule back under `,_jsx(_components.code,{children:`fulfillment`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If no allowed offer is left, the item fails as `,_jsx(_components.code,{children:`product_unavailable`}),`. On orders placed with a retailer account or on Walmart, the failure’s `,_jsx(_components.code,{children:`error_details`}),` names the barred sellers (`,_jsx(_components.code,{children:`barred_sellers`}),`) and the rule that barred them (`,_jsx(_components.code,{children:`merchant_rule`}),`).`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Merchant rules apply to Amazon Business orders, Amazon orders placed with `,_jsx(_components.code,{children:`retailer_credentials_id`}),`, and Walmart orders. They’re ignored for other orders.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`optional-order-data`,children:`Optional Order Data`}),`\n`,_jsxs(_components.p,{children:[`You can include additional data with your order for tracking and reference purposes.\nThis data `,_jsx(_components.em,{children:`will`}),` be used by our system as input to any fields during checkout that match.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`po_number`}),` - Your internal purchase order number for tracking and reconciliation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`is_gift`}),` - Mark the order as a gift (boolean, default `,_jsx(_components.code,{children:`false`}),`), suppressing\nprices on the packing slip. See `,_jsx(_components.a,{href:`#gift-orders`,children:`Gift orders`}),` for the failure\nbehavior when a retailer offers no gift option.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`gift_message`}),` - Optional note for the recipient, entered into the retailer’s\ngift-message field at checkout (string, max 240 characters). Requires `,_jsx(_components.code,{children:`is_gift`}),`\nto be `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`handling_days_max`}),` - Optional ceiling on a seller’s handling days (integer,\nminimum `,_jsx(_components.code,{children:`1`}),`). Offers from sellers whose handling time exceeds this are skipped.\nOmit or send `,_jsx(_components.code,{children:`null`}),` for no limit.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If you only need data for internal reference, use the `,_jsx(_components.code,{children:`metadata`}),` field instead.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`gift-orders`,children:`Gift orders`}),`\n`,_jsxs(_components.p,{children:[`Setting `,_jsx(_components.code,{children:`is_gift: true`}),` suppresses prices on the packing slip. Because a gift that\narrives with prices visible to the recipient is worse than no order at all, this is\ntreated as a hard requirement rather than a preference:`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If the retailer’s checkout offers no free gift option, the order `,_jsx(_components.strong,{children:`fails`}),` with\n`,_jsx(_components.code,{children:`gift_option_unavailable`}),` instead of being placed as a normal order. Handle this\nerror type if you offer gifting as an optional add-on — see\n`,_jsx(_components.a,{href:`/v2/api-reference/introduction/error-handling#gift-errors`,children:`Order Processing Errors`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`If gifting is a nice-to-have rather than the point of the order, you can opt out\nof that failure instead of catching it: send `,_jsx(_components.code,{children:`fulfillment: { \"gift\": \"best_effort\" }`}),`\nand a retailer with no gift option gets a normal order rather than none. See\n`,_jsx(_components.a,{href:`#fulfillment-preferences`,children:`Fulfillment preferences`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`gift_message`}),` is best-effort by contrast: it’s delivered where the retailer’s\ncheckout offers a gift-message field, and the order is still placed without it\nwhere one isn’t available.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_gift\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gift_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Happy birthday! Hope you enjoy it.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`is_gift`}),` and `,_jsx(_components.code,{children:`gift_message`}),` are also accepted on `,_jsx(_components.a,{href:`/v2/api-reference/agent/create-order`,children:_jsx(_components.code,{children:`POST /agent/orders`})}),`, which shares the same order-creation schema.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`A successful order creation returns:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`id`}),` - Unique order identifier (UUID)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`status`}),` - Current order status (initially “pending”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`items`}),` - Array of order items with their details`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`shipping_address`}),` - Confirmed shipping address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`created_at`}),` - Timestamp of order creation`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Use the order `,_jsx(_components.code,{children:`id`}),` to retrieve order status and updates.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Order","description":"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.","openapi":"versions/latest.json POST /orders","href":"/v2/api-reference/orders/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request Flow","slug":"request-flow","depth":2,"children":[]},{"title":"Product URLs","slug":"product-urls","depth":2,"children":[]},{"title":"Products Zinc cannot buy","slug":"products-zinc-cannot-buy","depth":2,"children":[]},{"title":"Shipping Address","slug":"shipping-address","depth":2,"children":[]},{"title":"Which account places the order","slug":"which-account-places-the-order","depth":2,"children":[]},{"title":"Payment","slug":"payment","depth":2,"children":[{"title":"Connect mode","slug":"connect-mode","depth":3,"children":[]},{"title":"Link mode","slug":"link-mode","depth":3,"children":[]}]},{"title":"Fulfillment preferences","slug":"fulfillment-preferences","depth":2,"children":[{"title":"Merchant rules","slug":"merchant-rules","depth":3,"children":[]}]},{"title":"Optional Order Data","slug":"optional-order-data","depth":2,"children":[]},{"title":"Gift orders","slug":"gift-orders","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/zinc/a05dd02b586c10cf/zinc-docs-nav.js"],"openApiReferenceData":{"operation":{"tags":["orders"],"summary":"Create Order","description":"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.","operationId":"create_order_orders_post","parameters":["7de25528-cd01-49d8-9245-914769d21ab6","d0392cd6-e576-4b48-82be-f59f302d03fc"],"requestBody":"3277466c-cd30-4dad-a5f4-cf4ee2b514bd","responses":{"201":"c5f931bc-50b3-47a4-b9a5-c8da33270bf8","400":"9f2362ed-f15a-4e87-beb8-111ded243095","409":"257a8fea-02a1-4be1-9c30-8fe88e720083","422":"fc83ff89-548f-4d00-bc8f-c9f885ec26f4"},"method":"post","type":"path","servers":["dafa06c8-8f2c-4930-86e3-32bb9280e412"],"security":["ad6af2d4-f427-4f06-b82e-dd8126a65aef"],"path":"/orders","baseUrlOptions":["https://api.zinc.com"],"title":"Create Order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7de25528-cd01-49d8-9245-914769d21ab6":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","description":"Optional key (max 36 characters) that makes this request safe to retry after a timeout or dropped connection. Equivalent to the `idempotency_key` body field: send either one, or both with the same value. A header and body field that differ are rejected with 400 before anything is created or charged. Use a fresh unique value (e.g. a UUID) for each distinct order, and the same value when retrying that order. Keys never expire. Keys are scoped to your account. The first request with a key creates the order; a later request with the same key creates no second order and charges nothing, whatever its body says, and answers 409 `already_exists` with the original order's id in `error.details.order_id` — read it with GET /orders/{order_id}. `order_id` is absent when the two requests arrived concurrently, or when the key was already used for a different `payment.mode=card` basket; either way the key is spent, so use a new one for a new order. A `payment.mode=card` order whose payment page is still open answers with its original 402 instead.","maxLength":36,"uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency-Key","description":"Optional key (max 36 characters) that makes this request safe to retry after a timeout or dropped connection. Equivalent to the `idempotency_key` body field: send either one, or both with the same value. A header and body field that differ are rejected with 400 before anything is created or charged. Use a fresh unique value (e.g. a UUID) for each distinct order, and the same value when retrying that order. Keys never expire. Keys are scoped to your account. The first request with a key creates the order; a later request with the same key creates no second order and charges nothing, whatever its body says, and answers 409 `already_exists` with the original order's id in `error.details.order_id` — read it with GET /orders/{order_id}. `order_id` is absent when the two requests arrived concurrently, or when the key was already used for a different `payment.mode=card` basket; either way the key is spent, so use a new one for a new order. A `payment.mode=card` order whose payment page is still open answers with its original 402 instead.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Optional key (max 36 characters) that makes this request safe to retry after a timeout or dropped connection. Equivalent to the `idempotency_key` body field: send either one, or both with the same value. A header and body field that differ are rejected with 400 before anything is created or charged. Use a fresh unique value (e.g. a UUID) for each distinct order, and the same value when retrying that order. Keys never expire. Keys are scoped to your account. The first request with a key creates the order; a later request with the same key creates no second order and charges nothing, whatever its body says, and answers 409 `already_exists` with the original order's id in `error.details.order_id` — read it with GET /orders/{order_id}. `order_id` is absent when the two requests arrived concurrently, or when the key was already used for a different `payment.mode=card` basket; either way the key is spent, so use a new one for a new order. A `payment.mode=card` order whose payment page is still open answers with its original 402 instead."},"d0392cd6-e576-4b48-82be-f59f302d03fc":{"name":"authorization","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Authorization","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Authorization","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"products":{"items":{"properties":{"url":{"type":"string","title":"Url","examples":["https://www.amazon.com/dp/B07JGBW826"],"isRequired":true,"uniqueKey":"products.items.[INDEX].url","typeLabel":"string"},"quantity":{"type":"integer","maximum":100,"minimum":1,"title":"Quantity","default":1,"uniqueKey":"products.items.[INDEX].quantity","typeLabel":"integer"},"variant":{"oneOf":[{"type":"array","items":{"properties":{"label":{"type":"string","minLength":1,"title":"Label","description":"Variant label (e.g., 'Color', 'Size')","isRequired":true,"uniqueKey":"products.items.[INDEX].variant.oneOf.0.items.[INDEX].label","typeLabel":"string"},"value":{"type":"string","minLength":1,"title":"Value","description":"Variant value (e.g., 'Black', 'Large')","isRequired":true,"uniqueKey":"products.items.[INDEX].variant.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["label","value"],"title":"ProductVariant","description":"Product variant schema for selecting product options (color, size, etc.).","uniqueKey":"products.items.[INDEX].variant.oneOf.0.items.[INDEX]","typeLabel":"ProductVariant · object"},"title":"Variant","description":"Product variants to select (e.g., color, size)","uniqueKey":"products.items.[INDEX].variant.oneOf.0","typeLabel":"ProductVariant · object[]"},{"type":"null","title":"Variant","description":"Product variants to select (e.g., color, size)","uniqueKey":"products.items.[INDEX].variant.oneOf.1","typeLabel":"null"}],"uniqueKey":"products.items.[INDEX].variant","typeLabel":"ProductVariant · object[] | null"},"condition_in":{"oneOf":[{"type":"array","items":{"type":"string","enum":["New","Refurbished","UsedLikeNew","UsedVeryGood","UsedGood","UsedAcceptable"],"title":"ProductCondition","description":"Canonical product-condition strings for condition filtering.\n\nMatching against ``condition_in`` / ``condition_not_in`` is exact and\ncase-sensitive against these *values*. The vocabulary matches the Zinc v1\nAPI's ``seller_selection_criteria`` condition strings.","uniqueKey":"products.items.[INDEX].condition_in.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Condition In","description":"Condition allowlist. The agent only buys an offer whose condition is in this list. Each value must be a canonical condition. Omit or send null/[] for no constraint.","uniqueKey":"products.items.[INDEX].condition_in.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Condition In","description":"Condition allowlist. The agent only buys an offer whose condition is in this list. Each value must be a canonical condition. Omit or send null/[] for no constraint.","uniqueKey":"products.items.[INDEX].condition_in.oneOf.1","typeLabel":"null"}],"uniqueKey":"products.items.[INDEX].condition_in","typeLabel":"enum\u003cstring>[] | null"},"condition_not_in":{"oneOf":[{"type":"array","items":{"type":"string","enum":["New","Refurbished","UsedLikeNew","UsedVeryGood","UsedGood","UsedAcceptable"],"title":"ProductCondition","description":"Canonical product-condition strings for condition filtering.\n\nMatching against ``condition_in`` / ``condition_not_in`` is exact and\ncase-sensitive against these *values*. The vocabulary matches the Zinc v1\nAPI's ``seller_selection_criteria`` condition strings.","uniqueKey":"products.items.[INDEX].condition_not_in.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Condition Not In","description":"Condition denylist. The agent will not buy an offer whose condition is in this list. Each value must be a canonical condition. Omit or send null/[] for no constraint.","uniqueKey":"products.items.[INDEX].condition_not_in.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Condition Not In","description":"Condition denylist. The agent will not buy an offer whose condition is in this list. Each value must be a canonical condition. Omit or send null/[] for no constraint.","uniqueKey":"products.items.[INDEX].condition_not_in.oneOf.1","typeLabel":"null"}],"uniqueKey":"products.items.[INDEX].condition_not_in","typeLabel":"enum\u003cstring>[] | null"}},"type":"object","required":["url"],"title":"OrderProduct","description":"Product item for an order.\n\nFor example:\n````{\n url: \"https://www.amazon.com/dp/B07JGBW826\",\n quantity: 1\n}```","uniqueKey":"products.items.[INDEX]","typeLabel":"OrderProduct · object"},"type":"array","minItems":1,"title":"Products","isRequired":true,"uniqueKey":"products","typeLabel":"OrderProduct · object[]"},"max_price":{"type":"integer","minimum":0,"title":"Max Price","description":"Maximum price (in cents) allowed for an order before it is finalized.","isRequired":true,"uniqueKey":"max_price","typeLabel":"integer"},"shipping_address":{"oneOf":[{"type":"object","title":"Address","description":"Where to ship. Required for wallet and Connect orders.","required":["first_name","last_name","address_line1","city","postal_code","phone_number"],"properties":{"first_name":{"type":"string","title":"First Name","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.last_name","typeLabel":"string"},"address_line1":{"type":"string","maxLength":60,"title":"Address Line1","description":"Street address. At most 60 characters — retailers reject a longer line outright rather than truncating it.","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.address_line1","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.city","typeLabel":"string"},"postal_code":{"type":"string","title":"Postal Code","description":"Postal code. For a US address this must be a ZIP: 5 digits, optionally +4 (e.g. '98632' or '27517-8761').","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.postal_code","typeLabel":"string"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"shipping_address.oneOf.0.phone_number","typeLabel":"string"},"address_line2":{"oneOf":[{"type":"string","title":"Address Line2","description":"Apartment, suite, unit, etc. At most 60 characters — retailers reject a longer line outright rather than truncating it.","maxLength":60,"uniqueKey":"shipping_address.oneOf.0.address_line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Address Line2","description":"Apartment, suite, unit, etc. At most 60 characters — retailers reject a longer line outright rather than truncating it.","uniqueKey":"shipping_address.oneOf.0.address_line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipping_address.oneOf.0.address_line2","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"shipping_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"shipping_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipping_address.oneOf.0.state","typeLabel":"string | null"},"country":{"type":"string","title":"Country","description":"Country as an ISO 3166-1 alpha-2 code (e.g. 'US', 'CA', 'GB', 'DE'). Case-insensitive. Longer spellings such as 'USA' or 'United States' are rejected — the error names the code to use.","default":"US","uniqueKey":"shipping_address.oneOf.0.country","typeLabel":"string"}},"uniqueKey":"shipping_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","description":"Where to ship. Required for wallet and Connect orders.","uniqueKey":"shipping_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipping_address","typeLabel":"Address · object | null"},"idempotency_key":{"oneOf":[{"type":"string","title":"Idempotency Key","description":"Optional idempotency key to prevent duplicate orders. If not provided, one will be generated.","maxLength":36,"uniqueKey":"idempotency_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency Key","description":"Optional idempotency key to prevent duplicate orders. If not provided, one will be generated.","uniqueKey":"idempotency_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"idempotency_key","typeLabel":"string | null"},"retailer_credentials_id":{"oneOf":[{"type":"string","title":"Retailer Credentials Id","description":"Optional short ID (e.g. 'zn_acct_XXXXXXXX') of one of your own saved retailer accounts to place this order on. The item is then paid for by the payment method saved on that account, and your wallet is charged the API fee only — so the balance needed to place the order is the fee, not max_price + fee. Omit it and the order is placed on a Zinc account and funded from your wallet; Zinc never substitutes one of your saved accounts, so send this field on every order that has to run on yours.","uniqueKey":"retailer_credentials_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Retailer Credentials Id","description":"Optional short ID (e.g. 'zn_acct_XXXXXXXX') of one of your own saved retailer accounts to place this order on. The item is then paid for by the payment method saved on that account, and your wallet is charged the API fee only — so the balance needed to place the order is the fee, not max_price + fee. Omit it and the order is placed on a Zinc account and funded from your wallet; Zinc never substitutes one of your saved accounts, so send this field on every order that has to run on yours.","uniqueKey":"retailer_credentials_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"retailer_credentials_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Optional metadata to attach to the order. Can contain arbitrary key-value pairs.","additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Optional metadata to attach to the order. Can contain arbitrary key-value pairs.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"po_number":{"oneOf":[{"type":"string","title":"Po Number","description":"Optional purchase order number for the order.","uniqueKey":"po_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Po Number","description":"Optional purchase order number for the order.","uniqueKey":"po_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"po_number","typeLabel":"string | null"},"handling_days_max":{"oneOf":[{"type":"integer","title":"Handling Days Max","description":"Optional ceiling on a seller's shipping and handling days. Omit or send null for no limit.","minimum":1,"uniqueKey":"handling_days_max.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Handling Days Max","description":"Optional ceiling on a seller's shipping and handling days. Omit or send null for no limit.","uniqueKey":"handling_days_max.oneOf.1","typeLabel":"null"}],"uniqueKey":"handling_days_max","typeLabel":"integer | null"},"is_gift":{"type":"boolean","title":"Is Gift","description":"Mark the order as a gift, suppressing prices on the packing slip. If the retailer's checkout offers no free gift option, the order FAILS with `gift_option_unavailable` rather than being placed as a normal order — a gift that arrives with prices visible to the recipient is treated as worse than no order.","default":false,"uniqueKey":"is_gift","typeLabel":"boolean"},"gift_message":{"oneOf":[{"type":"string","title":"Gift Message","description":"Optional note for the recipient, entered into the retailer's gift-message field at checkout. Requires `is_gift` to be true. Max 240 characters. Delivered where the retailer's checkout offers a gift message; the order is still placed without it where one isn't available.","maxLength":240,"uniqueKey":"gift_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Gift Message","description":"Optional note for the recipient, entered into the retailer's gift-message field at checkout. Requires `is_gift` to be true. Max 240 characters. Delivered where the retailer's checkout offers a gift message; the order is still placed without it where one isn't available.","uniqueKey":"gift_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"gift_message","typeLabel":"string | null"},"payment":{"oneOf":[{"type":"object","title":"OrderPayment","description":"Optional payment block. Omit for prepaid-wallet billing (default).","properties":{"mode":{"type":"string","enum":["wallet","card","connect","link"],"title":"Mode","default":"wallet","uniqueKey":"payment.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"payment_method":{"oneOf":[{"type":"string","title":"Payment Method","description":"Connect mode: the end-customer's vaulted payment-method id on the connected account. Required for connect mode. Link mode: which card in your Link wallet pays (from GET /users/link-wallet/payment-methods); omitted, your default Link card.","uniqueKey":"payment.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"type":"null","title":"Payment Method","description":"Connect mode: the end-customer's vaulted payment-method id on the connected account. Required for connect mode. Link mode: which card in your Link wallet pays (from GET /users/link-wallet/payment-methods); omitted, your default Link card.","uniqueKey":"payment.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.payment_method","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","title":"Customer","description":"Connect mode: the end-customer's Stripe Customer id (cus_…) on the connected account. Required to charge a *reusable* saved card off-session; omit only for a one-time, unattached payment method.","uniqueKey":"payment.oneOf.0.customer.oneOf.0","typeLabel":"string"},{"type":"null","title":"Customer","description":"Connect mode: the end-customer's Stripe Customer id (cus_…) on the connected account. Required to charge a *reusable* saved card off-session; omit only for a one-time, unattached payment method.","uniqueKey":"payment.oneOf.0.customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.customer","typeLabel":"string | null"},"margin":{"oneOf":[{"type":"object","title":"MarginSpec","description":"Connect mode: the customer's margin on the order.","required":["type","value"],"properties":{"type":{"type":"string","enum":["flat","percent"],"title":"Type","isRequired":true,"uniqueKey":"payment.oneOf.0.margin.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","minimum":0,"title":"Value","description":"Cents when type='flat'; a percentage when type='percent' (e.g. 15 == 15%).","isRequired":true,"uniqueKey":"payment.oneOf.0.margin.oneOf.0.value","typeLabel":"number"}},"uniqueKey":"payment.oneOf.0.margin.oneOf.0","typeLabel":"MarginSpec · object"},{"type":"null","description":"Connect mode: the customer's margin on the order.","uniqueKey":"payment.oneOf.0.margin.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.margin","typeLabel":"MarginSpec · object | null"}},"uniqueKey":"payment.oneOf.0","typeLabel":"OrderPayment · object"},{"type":"null","description":"Optional payment block. Omit for prepaid-wallet billing (default).","uniqueKey":"payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment","typeLabel":"OrderPayment · object | null"},"customer_notifications":{"oneOf":[{"type":"object","title":"CustomerNotifications","description":"Opt in to emailing the end customer order updates (and unlock the public tracking page for this order). Adds a per-order surcharge. Omit for no customer notifications (default).","required":["email"],"properties":{"email":{"type":"string","format":"email","title":"Email","description":"End-customer email address to send order updates to.","isRequired":true,"uniqueKey":"customer_notifications.oneOf.0.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"customer_notifications.oneOf.0","typeLabel":"CustomerNotifications · object"},{"type":"null","description":"Opt in to emailing the end customer order updates (and unlock the public tracking page for this order). Adds a per-order surcharge. Omit for no customer notifications (default).","uniqueKey":"customer_notifications.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_notifications","typeLabel":"CustomerNotifications · object | null"},"fulfillment":{"oneOf":[{"type":"object","title":"FulfillmentPreferences","description":"Loosen the order's strict-by-default rules. Omit for today's behaviour: any rule that can't be met fails the order. Set a rule (`gift`, `items`, `quantity`) to `best_effort` to have the order placed anyway; anything left unset stays strict. Whatever was relaxed is reported back in `fulfillment.concessions` on the order. `max_price` is never relaxed. `excluded_merchants`, `included_merchants` and `first_party_only` tighten instead: which merchants this order may be bought from. `shipping` picks a preferred delivery speed.","properties":{"gift":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if the retailer offers no free gift option, place a normal order instead of failing with `gift_option_unavailable`. Requires `is_gift: true`. Omit to keep the gift requirement strict.","enum":["best_effort"],"uniqueKey":"fulfillment.oneOf.0.gift.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if the retailer offers no free gift option, place a normal order instead of failing with `gift_option_unavailable`. Requires `is_gift: true`. Omit to keep the gift requirement strict.","uniqueKey":"fulfillment.oneOf.0.gift.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.gift","typeLabel":"enum\u003cstring> | null"},"items":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if an item can't be bought (not found, out of stock, variant or condition unavailable, add-to-cart failed), skip it and ship the rest — its status becomes `skipped`. An empty cart still fails. Omit for all-or-nothing.","enum":["best_effort"],"uniqueKey":"fulfillment.oneOf.0.\\items.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if an item can't be bought (not found, out of stock, variant or condition unavailable, add-to-cart failed), skip it and ship the rest — its status becomes `skipped`. An empty cart still fails. Omit for all-or-nothing.","uniqueKey":"fulfillment.oneOf.0.\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.\\items","typeLabel":"enum\u003cstring> | null"},"quantity":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if the retailer caps an item below the requested quantity, buy the cap instead of failing with `quantity_limit_exceeded`. Omit to require the full quantity.","enum":["best_effort"],"uniqueKey":"fulfillment.oneOf.0.quantity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if the retailer caps an item below the requested quantity, buy the cap instead of failing with `quantity_limit_exceeded`. Omit to require the full quantity.","uniqueKey":"fulfillment.oneOf.0.quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.quantity","typeLabel":"enum\u003cstring> | null"},"excluded_merchants":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fulfillment.oneOf.0.excluded_merchants.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Excluded Merchants","description":"Merchants this order must never be bought from: a display name as shown on the retailer's storefront (matched ignoring case and spacing) or an Amazon Business `amzn1.` merchant id (Amazon Business orders only; refused on other orders). At most 20 entries. Added to any blocklist already on your account; it can only bar more merchants, never allow a barred one. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere. When no allowed offer is left the item fails as `product_unavailable`; on orders placed with a retailer account or on Walmart, `error_details` names the barred sellers (`barred_sellers`) and why (`merchant_rule`).","maxItems":20,"uniqueKey":"fulfillment.oneOf.0.excluded_merchants.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Excluded Merchants","description":"Merchants this order must never be bought from: a display name as shown on the retailer's storefront (matched ignoring case and spacing) or an Amazon Business `amzn1.` merchant id (Amazon Business orders only; refused on other orders). At most 20 entries. Added to any blocklist already on your account; it can only bar more merchants, never allow a barred one. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere. When no allowed offer is left the item fails as `product_unavailable`; on orders placed with a retailer account or on Walmart, `error_details` names the barred sellers (`barred_sellers`) and why (`merchant_rule`).","uniqueKey":"fulfillment.oneOf.0.excluded_merchants.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.excluded_merchants","typeLabel":"string[] | null"},"included_merchants":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fulfillment.oneOf.0.included_merchants.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Included Merchants","description":"Only buy this order from these merchants: same entry format as `excluded_merchants`, at most 20 entries. Offers from any other merchant are skipped; if none of the listed merchants has a qualifying offer the item fails as unavailable. Exclusions still win: a merchant on both lists, or on your account's blocklist, is never used. Other offer rules (condition, delivery time, the price cap; on Amazon Business also Prime unless it's the Buy Box) still apply. Ignored when `first_party_only` is set. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","maxItems":20,"uniqueKey":"fulfillment.oneOf.0.included_merchants.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Included Merchants","description":"Only buy this order from these merchants: same entry format as `excluded_merchants`, at most 20 entries. Offers from any other merchant are skipped; if none of the listed merchants has a qualifying offer the item fails as unavailable. Exclusions still win: a merchant on both lists, or on your account's blocklist, is never used. Other offer rules (condition, delivery time, the price cap; on Amazon Business also Prime unless it's the Buy Box) still apply. Ignored when `first_party_only` is set. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.oneOf.0.included_merchants.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.included_merchants","typeLabel":"string[] | null"},"first_party_only":{"oneOf":[{"type":"boolean","title":"First Party Only","description":"`true`: only buy offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller (including ones fulfilled by the retailer) and Amazon's cross-border, used/returns, pharmacy and gift-card stores. If the retailer doesn't sell the item the item fails as unavailable. Takes the place of every merchant list: `included_merchants`, `excluded_merchants` and any blocklist on your account are not applied to this order. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.oneOf.0.first_party_only.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"First Party Only","description":"`true`: only buy offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller (including ones fulfilled by the retailer) and Amazon's cross-border, used/returns, pharmacy and gift-card stores. If the retailer doesn't sell the item the item fails as unavailable. Takes the place of every merchant list: `included_merchants`, `excluded_merchants` and any blocklist on your account are not applied to this order. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.oneOf.0.first_party_only.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.first_party_only","typeLabel":"boolean | null"},"shipping":{"oneOf":[{"type":"string","title":"ShippingSpeed","description":"Preferred delivery speed. `fast_free`: the fastest free delivery option, never a slower free one (such as a no-rush option); on Amazon Business this is usually what standard delivery picks anyway. `fastest`: the fastest option even if it costs more (e.g. same-day for a fee); paid shipping counts toward `max_price`. When the fastest option would push the order over `max_price`, an Amazon Business order fails with `max_price_exceeded`; other orders take the fastest option that keeps the total within it. A preference, not a guarantee: when the preferred option isn't offered the order ships with the next best one instead of failing. Omit for the retailer's standard delivery. `handling_days_max` still applies. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and orders on other retailers; ignored on other Amazon orders.","enum":["fast_free","fastest"],"uniqueKey":"fulfillment.oneOf.0.shipping.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Preferred delivery speed. `fast_free`: the fastest free delivery option, never a slower free one (such as a no-rush option); on Amazon Business this is usually what standard delivery picks anyway. `fastest`: the fastest option even if it costs more (e.g. same-day for a fee); paid shipping counts toward `max_price`. When the fastest option would push the order over `max_price`, an Amazon Business order fails with `max_price_exceeded`; other orders take the fastest option that keeps the total within it. A preference, not a guarantee: when the preferred option isn't offered the order ships with the next best one instead of failing. Omit for the retailer's standard delivery. `handling_days_max` still applies. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and orders on other retailers; ignored on other Amazon orders.","uniqueKey":"fulfillment.oneOf.0.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.oneOf.0.shipping","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"fulfillment.oneOf.0","typeLabel":"FulfillmentPreferences · object"},{"type":"null","description":"Loosen the order's strict-by-default rules. Omit for today's behaviour: any rule that can't be met fails the order. Set a rule (`gift`, `items`, `quantity`) to `best_effort` to have the order placed anyway; anything left unset stays strict. Whatever was relaxed is reported back in `fulfillment.concessions` on the order. `max_price` is never relaxed. `excluded_merchants`, `included_merchants` and `first_party_only` tighten instead: which merchants this order may be bought from. `shipping` picks a preferred delivery speed.","uniqueKey":"fulfillment.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment","typeLabel":"FulfillmentPreferences · object | null"}},"type":"object","required":["products","max_price"],"title":"CheckoutOrderCreate","description":"Request body for ``POST /orders``.","uniqueKey":"","typeLabel":"CheckoutOrderCreate · object"},"examples":{"Example":{"title":"Example","value":{"products":[{"url":"https://www.amazon.com/dp/B07JGBW826","quantity":1,"variant":[{"label":"\u003cstring>","value":"\u003cstring>"}],"condition_in":[],"condition_not_in":[]}],"max_price":1,"shipping_address":{"first_name":"\u003cstring>","last_name":"\u003cstring>","address_line1":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","phone_number":"\u003cstring>","address_line2":"\u003cstring>","state":"\u003cstring>","country":"US"},"idempotency_key":"\u003cstring>","retailer_credentials_id":"\u003cstring>","metadata":{},"po_number":"\u003cstring>","handling_days_max":2,"is_gift":false,"gift_message":"\u003cstring>","payment":{"mode":"wallet","payment_method":"\u003cstring>","customer":"\u003cstring>","margin":{"value":1}},"customer_notifications":{"email":"jsmith@example.com"},"fulfillment":{"gift":"best_effort","items":"best_effort","quantity":"best_effort","excluded_merchants":["\u003cstring>"],"included_merchants":["\u003cstring>"],"first_party_only":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c5f931bc-50b3-47a4-b9a5-c8da33270bf8":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["pending","in_progress","order_placed","order_failed","cancelled","cancelled_by_retailer"],"title":"OrderStatus","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"max_price":{"type":"integer","title":"Max Price","isRequired":true,"uniqueKey":"max_price","typeLabel":"integer"},"attempts":{"type":"integer","title":"Attempts","isRequired":true,"uniqueKey":"attempts","typeLabel":"integer"},"items":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"\\items.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"\\items.items.[INDEX].url","typeLabel":"string"},"quantity":{"type":"integer","title":"Quantity","isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"integer"},"status":{"type":"string","enum":["pending","processing","ordered","shipped","available_for_pickup","delivered","cancelled","failed","skipped"],"title":"OrderItemStatus","isRequired":true,"uniqueKey":"\\items.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"\\items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"\\items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"variant":{"oneOf":[{"type":"array","items":{"properties":{"label":{"type":"string","minLength":1,"title":"Label","description":"Variant label (e.g., 'Color', 'Size')","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variant.oneOf.0.items.[INDEX].label","typeLabel":"string"},"value":{"type":"string","minLength":1,"title":"Value","description":"Variant value (e.g., 'Black', 'Large')","isRequired":true,"uniqueKey":"\\items.items.[INDEX].variant.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["label","value"],"title":"ProductVariant","description":"Product variant schema for selecting product options (color, size, etc.).","uniqueKey":"\\items.items.[INDEX].variant.oneOf.0.items.[INDEX]","typeLabel":"ProductVariant · object"},"title":"Variant","uniqueKey":"\\items.items.[INDEX].variant.oneOf.0","typeLabel":"ProductVariant · object[]"},{"type":"null","title":"Variant","uniqueKey":"\\items.items.[INDEX].variant.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].variant","typeLabel":"ProductVariant · object[] | null"},"condition_in":{"oneOf":[{"type":"array","items":{"type":"string","enum":["New","Refurbished","UsedLikeNew","UsedVeryGood","UsedGood","UsedAcceptable"],"title":"ProductCondition","description":"Canonical product-condition strings for condition filtering.\n\nMatching against ``condition_in`` / ``condition_not_in`` is exact and\ncase-sensitive against these *values*. The vocabulary matches the Zinc v1\nAPI's ``seller_selection_criteria`` condition strings.","uniqueKey":"\\items.items.[INDEX].condition_in.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Condition In","uniqueKey":"\\items.items.[INDEX].condition_in.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Condition In","uniqueKey":"\\items.items.[INDEX].condition_in.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].condition_in","typeLabel":"enum\u003cstring>[] | null"},"condition_not_in":{"oneOf":[{"type":"array","items":{"type":"string","enum":["New","Refurbished","UsedLikeNew","UsedVeryGood","UsedGood","UsedAcceptable"],"title":"ProductCondition","description":"Canonical product-condition strings for condition filtering.\n\nMatching against ``condition_in`` / ``condition_not_in`` is exact and\ncase-sensitive against these *values*. The vocabulary matches the Zinc v1\nAPI's ``seller_selection_criteria`` condition strings.","uniqueKey":"\\items.items.[INDEX].condition_not_in.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Condition Not In","uniqueKey":"\\items.items.[INDEX].condition_not_in.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Condition Not In","uniqueKey":"\\items.items.[INDEX].condition_not_in.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].condition_not_in","typeLabel":"enum\u003cstring>[] | null"},"cancellation_reason":{"oneOf":[{"type":"string","title":"Cancellation Reason","uniqueKey":"\\items.items.[INDEX].cancellation_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cancellation Reason","uniqueKey":"\\items.items.[INDEX].cancellation_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].cancellation_reason","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","title":"Error Type","uniqueKey":"\\items.items.[INDEX].error_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Type","uniqueKey":"\\items.items.[INDEX].error_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].error_type","typeLabel":"string | null"},"tracking_number_ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].tracking_number_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"title":"Tracking Number Ids","description":"Ids of the `tracking_numbers[]` known to carry this item, best effort. Null when unknown (never an empty list). The reverse of `tracking_numbers[].order_item_ids`.","uniqueKey":"\\items.items.[INDEX].tracking_number_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","title":"Tracking Number Ids","description":"Ids of the `tracking_numbers[]` known to carry this item, best effort. Null when unknown (never an empty list). The reverse of `tracking_numbers[].order_item_ids`.","uniqueKey":"\\items.items.[INDEX].tracking_number_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tracking_number_ids","typeLabel":"string\u003cuuid>[] | null"}},"type":"object","required":["id","url","quantity","status","created_at","updated_at"],"title":"OrderItemResponse","description":"Response model for order item data.\n\nField names mirror the OrderItem model, so callers build it with\n``OrderItemResponse.model_validate(item)`` rather than enumerating fields.","uniqueKey":"\\items.items.[INDEX]","typeLabel":"OrderItemResponse · object"},"type":"array","title":"Items","isRequired":true,"uniqueKey":"\\items","typeLabel":"OrderItemResponse · object[]"},"shipping_address":{"additionalProperties":true,"type":"object","title":"Shipping Address","isRequired":true,"uniqueKey":"shipping_address","typeLabel":"Shipping Address · object"},"retailer_credentials_id":{"oneOf":[{"type":"string","title":"Retailer Credentials Id","isRequired":true,"uniqueKey":"retailer_credentials_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Retailer Credentials Id","isRequired":true,"uniqueKey":"retailer_credentials_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"retailer_credentials_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{},"uniqueKey":"metadata","typeLabel":"Metadata · object"},"po_number":{"oneOf":[{"type":"string","title":"Po Number","uniqueKey":"po_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Po Number","uniqueKey":"po_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"po_number","typeLabel":"string | null"},"handling_days_max":{"oneOf":[{"type":"integer","title":"Handling Days Max","uniqueKey":"handling_days_max.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Handling Days Max","uniqueKey":"handling_days_max.oneOf.1","typeLabel":"null"}],"uniqueKey":"handling_days_max","typeLabel":"integer | null"},"is_gift":{"type":"boolean","title":"Is Gift","default":false,"uniqueKey":"is_gift","typeLabel":"boolean"},"gift_message":{"oneOf":[{"type":"string","title":"Gift Message","uniqueKey":"gift_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Gift Message","uniqueKey":"gift_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"gift_message","typeLabel":"string | null"},"retailer_credentials_uuid":{"oneOf":[{"type":"string","title":"Retailer Credentials Uuid","uniqueKey":"retailer_credentials_uuid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Retailer Credentials Uuid","uniqueKey":"retailer_credentials_uuid.oneOf.1","typeLabel":"null"}],"uniqueKey":"retailer_credentials_uuid","typeLabel":"string | null"},"buying_account":{"oneOf":[{"type":"object","title":"OrderBuyingAccount","description":"The retailer login an order was placed from. Admin-only.\n\nCovers global (Zinc-owned) credentials too, which the customer-facing\n``retailer_credentials_id`` deliberately hides. The password and TOTP never\nride on this payload: the dashboard fetches them on demand through the\naudit-logged ``POST /admin/accounts/{short_id}/reveal-credential``.","required":["short_id","email","is_global","has_password","has_totp"],"properties":{"short_id":{"type":"string","title":"Short Id","isRequired":true,"uniqueKey":"buying_account.oneOf.0.short_id","typeLabel":"string"},"email":{"type":"string","title":"Email","isRequired":true,"uniqueKey":"buying_account.oneOf.0.email","typeLabel":"string"},"is_global":{"type":"boolean","title":"Is Global","isRequired":true,"uniqueKey":"buying_account.oneOf.0.is_global","typeLabel":"boolean"},"has_password":{"type":"boolean","title":"Has Password","isRequired":true,"uniqueKey":"buying_account.oneOf.0.has_password","typeLabel":"boolean"},"has_totp":{"type":"boolean","title":"Has Totp","isRequired":true,"uniqueKey":"buying_account.oneOf.0.has_totp","typeLabel":"boolean"}},"uniqueKey":"buying_account.oneOf.0","typeLabel":"OrderBuyingAccount · object"},{"type":"null","uniqueKey":"buying_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"buying_account","typeLabel":"OrderBuyingAccount · object | null"},"job_result":{"oneOf":[{"type":"object","title":"OrderJobResult","description":"Fulfillment result and price breakdown for a completed or failed order; null while processing.","properties":{"success":{"oneOf":[{"type":"boolean","title":"Success","uniqueKey":"job_result.oneOf.0.success.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Success","uniqueKey":"job_result.oneOf.0.success.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.success","typeLabel":"boolean | null"},"error":{"oneOf":[{"type":"string","title":"Error","uniqueKey":"job_result.oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","uniqueKey":"job_result.oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","title":"Error Type","uniqueKey":"job_result.oneOf.0.error_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Type","uniqueKey":"job_result.oneOf.0.error_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_type","typeLabel":"string | null"},"error_details":{"oneOf":[{"type":"object","title":"ErrorDetails","description":"Structured detail for a failed job.\n\nAdditive sibling to the flat `error`/`error_type` keys (kept for\nback-compat). The structured home for enrichment beyond the category +\nmessage — e.g. why a shipping address was rejected — so we don't keep\ngrowing loose top-level keys on the job output.","required":["code","message"],"properties":{"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.message","typeLabel":"string"},"url":{"oneOf":[{"type":"string","title":"Url","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.url","typeLabel":"string | null"},"address_validation_reasons":{"items":{"type":"string","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.address_validation_reasons.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Address Validation Reasons","default":[],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.address_validation_reasons","typeLabel":"string[]"},"field_errors":{"items":{"properties":{"field":{"type":"string","title":"Field","isRequired":true,"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","title":"Message","default":"","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].message","typeLabel":"string"},"received":{"oneOf":[{"title":"Received"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].received","typeLabel":"any"},"expected":{"oneOf":[{"type":"string","title":"Expected","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].expected.oneOf.0","typeLabel":"string"},{"type":"null","title":"Expected","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].expected.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX].expected","typeLabel":"string | null"}},"additionalProperties":true,"type":"object","required":["field","code"],"title":"FieldError","description":"A single field-level validation failure from a worker.\n\nWhen a job fails schema\nvalidation the worker reports one of these per offending field, so consumers\ncan show \"state should be 'NY', got 'New York'\" instead of a bare count.","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors.items.[INDEX]","typeLabel":"FieldError · object"},"type":"array","title":"Field Errors","default":[],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.field_errors","typeLabel":"FieldError · object[]"},"line_rejections":{"items":{"properties":{"url":{"oneOf":[{"type":"string","title":"Url","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].url","typeLabel":"string | null"},"product_id":{"oneOf":[{"type":"string","title":"Product Id","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].product_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Product Id","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].product_id","typeLabel":"string | null"},"requested_quantity":{"oneOf":[{"type":"integer","title":"Requested Quantity","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].requested_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Requested Quantity","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].requested_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].requested_quantity","typeLabel":"integer | null"},"available_quantity":{"oneOf":[{"type":"integer","title":"Available Quantity","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].available_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Available Quantity","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].available_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].available_quantity","typeLabel":"integer | null"},"codes":{"items":{"type":"string","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].codes.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Codes","default":[],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].codes","typeLabel":"string[]"},"messages":{"items":{"type":"string","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].messages.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Messages","default":[],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX].messages","typeLabel":"string[]"}},"type":"object","title":"LineRejection","description":"One order line the retailer rejected, as it reported it (BizAPI).","uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections.items.[INDEX]","typeLabel":"LineRejection · object"},"type":"array","title":"Line Rejections","default":[],"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0.line_rejections","typeLabel":"LineRejection · object[]"}},"additionalProperties":true,"uniqueKey":"job_result.oneOf.0.error_details.oneOf.0","typeLabel":"ErrorDetails · object"},{"type":"null","uniqueKey":"job_result.oneOf.0.error_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.error_details","typeLabel":"ErrorDetails · object | null"},"price_components":{"oneOf":[{"type":"object","title":"OrderPriceComponents","description":"Retailer price breakdown for an order, all amounts in cents.\n\nLenient by design — every field is optional and unknown keys are preserved\n(``extra=\"allow\"``) — because it mirrors fulfillment output that may be\npartial (e.g. a failed order) or carry extra detail. Documents the common\nfields without revalidating the raw payload.","properties":{"subtotal":{"oneOf":[{"type":"integer","title":"Subtotal","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.subtotal.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Subtotal","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.subtotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.subtotal","typeLabel":"integer | null"},"tax":{"oneOf":[{"type":"integer","title":"Tax","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.tax.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Tax","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.tax","typeLabel":"integer | null"},"shipping":{"oneOf":[{"type":"integer","title":"Shipping","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.shipping.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Shipping","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.shipping","typeLabel":"integer | null"},"discount":{"oneOf":[{"type":"integer","title":"Discount","description":"Promotion/free-shipping discount applied by the retailer, as a positive magnitude subtracted from the total. A nonzero `shipping` paired with an equal `discount` means shipping was itemized but waived — the total correctly excludes it.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.discount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Discount","description":"Promotion/free-shipping discount applied by the retailer, as a positive magnitude subtracted from the total. A nonzero `shipping` paired with an equal `discount` means shipping was itemized but waived — the total correctly excludes it.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.discount","typeLabel":"integer | null"},"fees":{"oneOf":[{"type":"integer","title":"Fees","description":"Retailer fees not folded into subtotal/shipping/tax (gift wrap, import/regulatory charges), as a positive magnitude added to the total. Surfaced so a total exceeding the shown parts reads as an itemized fee rather than an unexplained charge.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.fees.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Fees","description":"Retailer fees not folded into subtotal/shipping/tax (gift wrap, import/regulatory charges), as a positive magnitude added to the total. Surfaced so a total exceeding the shown parts reads as an itemized fee rather than an unexplained charge.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.fees","typeLabel":"integer | null"},"total":{"oneOf":[{"type":"integer","title":"Total","description":"Order total in `currency` (subtotal + tax + shipping + fees − discount).","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.total.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total","description":"Order total in `currency` (subtotal + tax + shipping + fees − discount).","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.total.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.total","typeLabel":"integer | null"},"converted_payment_total":{"oneOf":[{"type":"integer","title":"Converted Payment Total","description":"`total` converted to `payment_currency`, the currency actually charged. On an order billed in USD from a non-USD `currency`, this is the USD amount charged, including the FX markup; `total` stays in the retailer's currency. Equal to `total` when no conversion was charged.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.converted_payment_total.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Converted Payment Total","description":"`total` converted to `payment_currency`, the currency actually charged. On an order billed in USD from a non-USD `currency`, this is the USD amount charged, including the FX markup; `total` stays in the retailer's currency. Equal to `total` when no conversion was charged.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.converted_payment_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.converted_payment_total","typeLabel":"integer | null"},"currency":{"oneOf":[{"type":"string","title":"Currency","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.currency.oneOf.0","typeLabel":"string"},{"type":"null","title":"Currency","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.currency","typeLabel":"string | null"},"payment_currency":{"oneOf":[{"type":"string","title":"Payment Currency","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.payment_currency.oneOf.0","typeLabel":"string"},{"type":"null","title":"Payment Currency","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.payment_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.payment_currency","typeLabel":"string | null"},"cart_items":{"oneOf":[{"type":"array","items":{"properties":{"name":{"oneOf":[{"type":"string","title":"Name","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"product_id":{"oneOf":[{"type":"string","title":"Product Id","description":"Retailer product identifier (Amazon ASIN, Walmart item number, SKU) when one is visible on the page. Often absent — do not rely on it to join rows back to the requested products.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].product_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Product Id","description":"Retailer product identifier (Amazon ASIN, Walmart item number, SKU) when one is visible on the page. Often absent — do not rely on it to join rows back to the requested products.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].product_id","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"integer","title":"Quantity","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Quantity","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].quantity","typeLabel":"integer | null"},"unit_price":{"oneOf":[{"type":"integer","title":"Unit Price","description":"Price per unit.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].unit_price.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Unit Price","description":"Price per unit.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].unit_price","typeLabel":"integer | null"},"line_total":{"oneOf":[{"type":"integer","title":"Line Total","description":"Total for this row, normally `quantity * unit_price`. May differ when the retailer applies a per-line promotion.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].line_total.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Line Total","description":"Total for this row, normally `quantity * unit_price`. May differ when the retailer applies a per-line promotion.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].line_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX].line_total","typeLabel":"integer | null"}},"additionalProperties":true,"type":"object","title":"OrderCartItem","description":"A single product row from the retailer's cart or order summary.\n\nLenient and open (``extra=\"allow\"``) like its siblings — it mirrors\nfulfillment output that may be partial. All amounts are in cents.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0.items.[INDEX]","typeLabel":"OrderCartItem · object"},"title":"Cart Items","description":"Per-product rows making up `subtotal`. Distinct from `line_items`, which carries order-level adjustments (discounts, fees) and shares no fields with these — a discount is never a cart row. Null when the retailer's checkout page did not expose readable line items, so handle both `null` and `[]`. Individual fields may also be null on a row we could only partly read. Best-effort: `sum(line_total)` normally equals `subtotal`, but that is not guaranteed and must not be used as a billing input — the charge is always driven by `total`.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.0","typeLabel":"OrderCartItem · object[]"},{"type":"null","title":"Cart Items","description":"Per-product rows making up `subtotal`. Distinct from `line_items`, which carries order-level adjustments (discounts, fees) and shares no fields with these — a discount is never a cart row. Null when the retailer's checkout page did not expose readable line items, so handle both `null` and `[]`. Individual fields may also be null on a row we could only partly read. Best-effort: `sum(line_total)` normally equals `subtotal`, but that is not guaranteed and must not be used as a billing input — the charge is always driven by `total`.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.cart_items","typeLabel":"OrderCartItem · object[] | null"},"line_items":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.line_items.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Line Items","description":"Order-level adjustments, each `{description, amount, category}`. Null — not `[]` — when the producer didn't supply them, which is every BizAPI-placed order today, so null-check before iterating.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.line_items.oneOf.0","typeLabel":"Line Items · object[]"},{"type":"null","title":"Line Items","description":"Order-level adjustments, each `{description, amount, category}`. Null — not `[]` — when the producer didn't supply them, which is every BizAPI-placed order today, so null-check before iterating.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.line_items","typeLabel":"Line Items · object[] | null"},"breakdown_recorded":{"oneOf":[{"type":"boolean","title":"Breakdown Recorded","description":"False when `subtotal`/`tax`/`shipping` are placeholders rather than observed figures — an order an operator recorded by hand without itemizing the whole of what they paid. Those fields read `0` in that case, which must NOT be shown as '$0.00 tax': nothing was recorded. `total` is authoritative either way. Null on results written before this flag existed; treat null as true.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.breakdown_recorded.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Breakdown Recorded","description":"False when `subtotal`/`tax`/`shipping` are placeholders rather than observed figures — an order an operator recorded by hand without itemizing the whole of what they paid. Those fields read `0` in that case, which must NOT be shown as '$0.00 tax': nothing was recorded. `total` is authoritative either way. Null on results written before this flag existed; treat null as true.","uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.breakdown_recorded.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0.breakdown_recorded","typeLabel":"boolean | null"}},"additionalProperties":true,"uniqueKey":"job_result.oneOf.0.price_components.oneOf.0","typeLabel":"OrderPriceComponents · object"},{"type":"null","uniqueKey":"job_result.oneOf.0.price_components.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.price_components","typeLabel":"OrderPriceComponents · object | null"},"estimated_delivery":{"oneOf":[{"type":"string","title":"Estimated Delivery","uniqueKey":"job_result.oneOf.0.estimated_delivery.oneOf.0","typeLabel":"string"},{"type":"null","title":"Estimated Delivery","uniqueKey":"job_result.oneOf.0.estimated_delivery.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.estimated_delivery","typeLabel":"string | null"},"merchant_order_ids":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"job_result.oneOf.0.merchant_order_ids.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Merchant Order Ids","uniqueKey":"job_result.oneOf.0.merchant_order_ids.oneOf.0","typeLabel":"Merchant Order Ids · object[]"},{"type":"null","title":"Merchant Order Ids","uniqueKey":"job_result.oneOf.0.merchant_order_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result.oneOf.0.merchant_order_ids","typeLabel":"Merchant Order Ids · object[] | null"}},"additionalProperties":true,"uniqueKey":"job_result.oneOf.0","typeLabel":"OrderJobResult · object"},{"type":"null","description":"Fulfillment result and price breakdown for a completed or failed order; null while processing.","uniqueKey":"job_result.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_result","typeLabel":"OrderJobResult · object | null"},"merchant_order_ids":{"items":{"type":"string","uniqueKey":"merchant_order_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Merchant Order Ids","description":"The retailer's own order number(s) for this order (e.g. an Amazon `113-…` ID), as recorded when it was placed. Empty while processing, or if the order never reached the retailer.","default":[],"uniqueKey":"merchant_order_ids","typeLabel":"string[]"},"tracking_numbers":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"carrier":{"type":"string","title":"Carrier","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].carrier","typeLabel":"string"},"tracking_number":{"type":"string","title":"Tracking Number","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].tracking_number","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"zinc_tracking_number":{"oneOf":[{"type":"string","title":"Zinc Tracking Number","description":"Zinc-issued tracking number under pseudo-carrier ZNLOGIC (format ZPY…YQ). Carrier-independent alias for this shipment; assigned once and never changes, even if the carrier tracking is corrected.","uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Zinc Tracking Number","description":"Zinc-issued tracking number under pseudo-carrier ZNLOGIC (format ZPY…YQ). Carrier-independent alias for this shipment; assigned once and never changes, even if the carrier tracking is corrected.","uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_number","typeLabel":"string | null"},"zinc_tracking_url":{"oneOf":[{"type":"string","title":"Zinc Tracking Url","description":"Public tracking URL for the Zinc tracking number (17track.net).","uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Zinc Tracking Url","description":"Public tracking URL for the Zinc tracking number (17track.net).","uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].zinc_tracking_url","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"TrackingStatus","description":"Carrier-derived shipment state (pending, in_transit, delivered).","enum":["pending","in_transit","available_for_pickup","delivered","undeliverable"],"uniqueKey":"tracking_numbers.items.[INDEX].status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Carrier-derived shipment state (pending, in_transit, delivered).","uniqueKey":"tracking_numbers.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].status","typeLabel":"enum\u003cstring> | null"},"estimated_delivery_date":{"oneOf":[{"type":"string","title":"Estimated Delivery Date","description":"Carrier-reported delivery estimate for this shipment, as a destination-local calendar date. Refreshed on every carrier poll; null when the carrier hasn't reported one.","format":"date","uniqueKey":"tracking_numbers.items.[INDEX].estimated_delivery_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Estimated Delivery Date","description":"Carrier-reported delivery estimate for this shipment, as a destination-local calendar date. Refreshed on every carrier poll; null when the carrier hasn't reported one.","uniqueKey":"tracking_numbers.items.[INDEX].estimated_delivery_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].estimated_delivery_date","typeLabel":"string\u003cdate> | null"},"delivery_proof_url":{"oneOf":[{"type":"string","title":"Delivery Proof Url","description":"URL of the proof-of-delivery photo, when the retailer provided one. Only available on orders placed with a managed account; delivery photos can't be pulled from carriers (USPS, UPS, etc.) for privacy reasons, so the retailer must supply it. Typically appears once the shipment is delivered; null when none is available.","uniqueKey":"tracking_numbers.items.[INDEX].delivery_proof_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Delivery Proof Url","description":"URL of the proof-of-delivery photo, when the retailer provided one. Only available on orders placed with a managed account; delivery photos can't be pulled from carriers (USPS, UPS, etc.) for privacy reasons, so the retailer must supply it. Typically appears once the shipment is delivered; null when none is available.","uniqueKey":"tracking_numbers.items.[INDEX].delivery_proof_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].delivery_proof_url","typeLabel":"string | null"},"checkpoints":{"items":{"properties":{"checkpoint_time":{"type":"string","format":"date-time","title":"Checkpoint Time","description":"When the carrier recorded this scan event.","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].checkpoint_time","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["pending","in_transit","available_for_pickup","delivered","undeliverable"],"title":"TrackingStatus","description":"Carrier-derived shipment state at this checkpoint.","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"Carrier-provided description of the scan.","isRequired":true,"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].message","typeLabel":"string"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].state","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","title":"Country","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","title":"Country","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].country","typeLabel":"string | null"},"zip":{"oneOf":[{"type":"string","title":"Zip","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].zip.oneOf.0","typeLabel":"string"},{"type":"null","title":"Zip","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].zip.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].zip","typeLabel":"string | null"},"location":{"oneOf":[{"type":"string","title":"Location","description":"Free-form location string when city/state are absent.","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].location.oneOf.0","typeLabel":"string"},{"type":"null","title":"Location","description":"Free-form location string when city/state are absent.","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].location.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX].location","typeLabel":"string | null"}},"type":"object","required":["checkpoint_time","status","message"],"title":"TrackingCheckpointResponse","description":"A single carrier-reported scan event for a tracking number.","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints.items.[INDEX]","typeLabel":"TrackingCheckpointResponse · object"},"type":"array","title":"Checkpoints","description":"Carrier scan events, most recent first. Empty unless the checkpoint timeline was requested.","uniqueKey":"tracking_numbers.items.[INDEX].checkpoints","typeLabel":"TrackingCheckpointResponse · object[]"},"order_item_ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"tracking_numbers.items.[INDEX].order_item_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"title":"Order Item Ids","description":"Ids of the `items[]` this package carries, best effort. Null when unknown (never an empty list). Populated when the order has one item, or once a single-package order is delivered; see `item_mapping` for how much to trust it.","uniqueKey":"tracking_numbers.items.[INDEX].order_item_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","title":"Order Item Ids","description":"Ids of the `items[]` this package carries, best effort. Null when unknown (never an empty list). Populated when the order has one item, or once a single-package order is delivered; see `item_mapping` for how much to trust it.","uniqueKey":"tracking_numbers.items.[INDEX].order_item_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].order_item_ids","typeLabel":"string\u003cuuid>[] | null"},"item_mapping":{"oneOf":[{"type":"string","title":"Item Mapping","description":"Confidence of `order_item_ids`: `exact` means the package cannot carry anything else; `inferred` means at least one entry is a best-effort guess. Null when `order_item_ids` is null.","enum":["exact","inferred"],"uniqueKey":"tracking_numbers.items.[INDEX].item_mapping.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Item Mapping","description":"Confidence of `order_item_ids`: `exact` means the package cannot carry anything else; `inferred` means at least one entry is a best-effort guess. Null when `order_item_ids` is null.","uniqueKey":"tracking_numbers.items.[INDEX].item_mapping.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_numbers.items.[INDEX].item_mapping","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["id","carrier","tracking_number","created_at"],"title":"TrackingNumberResponse","description":"Response model for tracking number data.\n\n``status`` is the authoritative carrier-derived shipment state and is always\npresent. ``checkpoints`` is the per-scan timeline; it's embedded on the\nsingle-order read (``GET /orders/{id}``) and, on the list endpoint, only\nwhen ``include=tracking_events`` is requested.","uniqueKey":"tracking_numbers.items.[INDEX]","typeLabel":"TrackingNumberResponse · object"},"type":"array","title":"Tracking Numbers","default":[],"uniqueKey":"tracking_numbers","typeLabel":"TrackingNumberResponse · object[]"},"created_by":{"oneOf":[{"type":"string","title":"Created By","uniqueKey":"created_by.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created By","uniqueKey":"created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by","typeLabel":"string | null"},"user_id":{"oneOf":[{"type":"integer","title":"User Id","uniqueKey":"user_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"User Id","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"integer | null"},"returns":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"returns.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["open","approved","denied","credited"],"title":"ReturnRequestStatus","isRequired":true,"uniqueKey":"returns.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["damaged","not_delivered","empty_box","wrong_item","defective","not_as_described","wrong_size","no_longer_needed","forced_cancellation","other"],"title":"ReturnRequestReason","description":"Universal return reason codes (Shopify + Amazon prepaid alignment).","isRequired":true,"uniqueKey":"returns.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"returns.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"returns.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"notes":{"oneOf":[{"type":"string","title":"Notes","uniqueKey":"returns.items.[INDEX].notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","uniqueKey":"returns.items.[INDEX].notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"returns.items.[INDEX].notes","typeLabel":"string | null"},"resolution_notes":{"oneOf":[{"type":"string","title":"Resolution Notes","uniqueKey":"returns.items.[INDEX].resolution_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolution Notes","uniqueKey":"returns.items.[INDEX].resolution_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"returns.items.[INDEX].resolution_notes","typeLabel":"string | null"},"items":{"items":{"properties":{"order_item_id":{"type":"string","format":"uuid","title":"Order Item Id","isRequired":true,"uniqueKey":"returns.items.[INDEX].\\items.items.[INDEX].order_item_id","typeLabel":"string\u003cuuid>"},"quantity":{"type":"integer","maximum":100,"minimum":1,"title":"Quantity","isRequired":true,"uniqueKey":"returns.items.[INDEX].\\items.items.[INDEX].quantity","typeLabel":"integer"}},"type":"object","required":["order_item_id","quantity"],"title":"ReturnRequestItem","description":"A single product line on a return — which order item, how many.","uniqueKey":"returns.items.[INDEX].\\items.items.[INDEX]","typeLabel":"ReturnRequestItem · object"},"type":"array","title":"Items","default":[],"uniqueKey":"returns.items.[INDEX].\\items","typeLabel":"ReturnRequestItem · object[]"},"label_urls":{"items":{"type":"string","uniqueKey":"returns.items.[INDEX].label_urls.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Label Urls","default":[],"uniqueKey":"returns.items.[INDEX].label_urls","typeLabel":"string[]"},"credited_amount":{"type":"integer","title":"Credited Amount","description":"Total wallet credit issued for this return, in cents. 0 until a credit is issued (and on returns resolved without one). Credits are append-only, so this is the running total across every credit and reversal on the return, not the last one.","default":0,"uniqueKey":"returns.items.[INDEX].credited_amount","typeLabel":"integer"}},"type":"object","required":["id","status","reason","created_at","updated_at"],"title":"ReturnRequestSummary","uniqueKey":"returns.items.[INDEX]","typeLabel":"ReturnRequestSummary · object"},"type":"array","title":"Returns","default":[],"uniqueKey":"returns","typeLabel":"ReturnRequestSummary · object[]"},"cases":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"cases.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"order_id":{"type":"string","format":"uuid","title":"Order Id","isRequired":true,"uniqueKey":"cases.items.[INDEX].order_id","typeLabel":"string\u003cuuid>"},"reason":{"type":"string","enum":["not_received","missing_item","late","damaged_or_wrong_item","cancellation","address_change","return","billing","other"],"title":"CaseReason","description":"What a support case is about. Routing and reporting only — no reason\ntriggers automation.","isRequired":true,"uniqueKey":"cases.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["open","waiting_on_customer","on_hold","closed"],"title":"CaseStatus","description":"`open` — waiting on Zinc. `waiting_on_customer` — Zinc replied and is waiting on you. `on_hold` — waiting on the retailer or carrier. `closed` — resolved; replying reopens it within the case window.","isRequired":true,"uniqueKey":"cases.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"cases.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"cases.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"return_request_id":{"oneOf":[{"type":"string","title":"Return Request Id","format":"uuid","uniqueKey":"cases.items.[INDEX].return_request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Return Request Id","uniqueKey":"cases.items.[INDEX].return_request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"cases.items.[INDEX].return_request_id","typeLabel":"string\u003cuuid> | null"},"credited_amount":{"type":"integer","title":"Credited Amount","description":"Total wallet credit issued from this case, in cents (net of reversals).","default":0,"uniqueKey":"cases.items.[INDEX].credited_amount","typeLabel":"integer"},"opened_by_name":{"oneOf":[{"type":"string","title":"Opened By Name","description":"Who opened the case: a teammate's name, or `Zinc support` when Zinc reached out. (The `case.created` webhook's `opened_by` is the side instead: `customer` or `zinc`.)","uniqueKey":"cases.items.[INDEX].opened_by_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Opened By Name","description":"Who opened the case: a teammate's name, or `Zinc support` when Zinc reached out. (The `case.created` webhook's `opened_by` is the side instead: `customer` or `zinc`.)","uniqueKey":"cases.items.[INDEX].opened_by_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"cases.items.[INDEX].opened_by_name","typeLabel":"string | null"},"closed_at":{"oneOf":[{"type":"string","title":"Closed At","format":"date-time","uniqueKey":"cases.items.[INDEX].closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Closed At","uniqueKey":"cases.items.[INDEX].closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"cases.items.[INDEX].closed_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["id","order_id","reason","status","created_at","updated_at"],"title":"CaseSummary","uniqueKey":"cases.items.[INDEX]","typeLabel":"CaseSummary · object"},"type":"array","title":"Cases","description":"Support cases on this order, newest first. See `/cases`.","default":[],"uniqueKey":"cases","typeLabel":"CaseSummary · object[]"},"connect":{"oneOf":[{"type":"object","title":"OrderConnectInfo","description":"Stripe Connect charge details when this order was paid via Connect; null for prepaid-wallet orders.","required":["state"],"properties":{"state":{"type":"string","title":"State","description":"secured | captured | released | refunded | …","isRequired":true,"uniqueKey":"connect.oneOf.0.state","typeLabel":"string"},"secured_amount":{"oneOf":[{"type":"integer","title":"Secured Amount","uniqueKey":"connect.oneOf.0.secured_amount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Secured Amount","uniqueKey":"connect.oneOf.0.secured_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.secured_amount","typeLabel":"integer | null"},"order_cost":{"oneOf":[{"type":"integer","title":"Order Cost","description":"Actual order cost (goods) captured when the order is placed.","uniqueKey":"connect.oneOf.0.order_cost.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Order Cost","description":"Actual order cost (goods) captured when the order is placed.","uniqueKey":"connect.oneOf.0.order_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.order_cost","typeLabel":"integer | null"},"customer_margin":{"oneOf":[{"type":"integer","title":"Customer Margin","uniqueKey":"connect.oneOf.0.customer_margin.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Customer Margin","uniqueKey":"connect.oneOf.0.customer_margin.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.customer_margin","typeLabel":"integer | null"},"zinc_fee":{"oneOf":[{"type":"integer","title":"Zinc Fee","uniqueKey":"connect.oneOf.0.zinc_fee.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Zinc Fee","uniqueKey":"connect.oneOf.0.zinc_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.zinc_fee","typeLabel":"integer | null"},"stripe_fee":{"oneOf":[{"type":"integer","title":"Stripe Fee","uniqueKey":"connect.oneOf.0.stripe_fee.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stripe Fee","uniqueKey":"connect.oneOf.0.stripe_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.stripe_fee","typeLabel":"integer | null"},"final_charge":{"oneOf":[{"type":"integer","title":"Final Charge","uniqueKey":"connect.oneOf.0.final_charge.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Final Charge","uniqueKey":"connect.oneOf.0.final_charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.final_charge","typeLabel":"integer | null"},"transfer_amount":{"oneOf":[{"type":"integer","title":"Transfer Amount","uniqueKey":"connect.oneOf.0.transfer_amount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Transfer Amount","uniqueKey":"connect.oneOf.0.transfer_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.transfer_amount","typeLabel":"integer | null"},"payment_intent_id":{"oneOf":[{"type":"string","title":"Payment Intent Id","uniqueKey":"connect.oneOf.0.payment_intent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Payment Intent Id","uniqueKey":"connect.oneOf.0.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.payment_intent_id","typeLabel":"string | null"},"connected_account_id":{"oneOf":[{"type":"string","title":"Connected Account Id","uniqueKey":"connect.oneOf.0.connected_account_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Connected Account Id","uniqueKey":"connect.oneOf.0.connected_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect.oneOf.0.connected_account_id","typeLabel":"string | null"},"simulated":{"type":"boolean","title":"Simulated","default":false,"uniqueKey":"connect.oneOf.0.simulated","typeLabel":"boolean"}},"uniqueKey":"connect.oneOf.0","typeLabel":"OrderConnectInfo · object"},{"type":"null","description":"Stripe Connect charge details when this order was paid via Connect; null for prepaid-wallet orders.","uniqueKey":"connect.oneOf.1","typeLabel":"null"}],"uniqueKey":"connect","typeLabel":"OrderConnectInfo · object | null"},"payment":{"oneOf":[{"type":"object","title":"OrderPaymentInfo","description":"Card hold details when this order was paid by card outside the wallet and Connect; null for wallet and Connect orders.","required":["state","authorized_cents","fee_cents"],"properties":{"state":{"type":"string","title":"State","description":"authorized | captured | released | refunded | …","isRequired":true,"uniqueKey":"payment.oneOf.0.state","typeLabel":"string"},"authorized_cents":{"type":"integer","title":"Authorized Cents","isRequired":true,"uniqueKey":"payment.oneOf.0.authorized_cents","typeLabel":"integer"},"fee_cents":{"type":"integer","title":"Fee Cents","isRequired":true,"uniqueKey":"payment.oneOf.0.fee_cents","typeLabel":"integer"},"mode":{"type":"string","const":"card","title":"Mode","default":"card","uniqueKey":"payment.oneOf.0.mode","typeLabel":"string"},"stripe_fee_cents":{"oneOf":[{"type":"integer","title":"Stripe Fee Cents","description":"Card-processing fee grossed into the amount above, the same way a wallet top-up and a Connect charge gross it in.","uniqueKey":"payment.oneOf.0.stripe_fee_cents.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Stripe Fee Cents","description":"Card-processing fee grossed into the amount above, the same way a wallet top-up and a Connect charge gross it in.","uniqueKey":"payment.oneOf.0.stripe_fee_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.stripe_fee_cents","typeLabel":"integer | null"},"captured_cents":{"oneOf":[{"type":"integer","title":"Captured Cents","uniqueKey":"payment.oneOf.0.captured_cents.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Captured Cents","uniqueKey":"payment.oneOf.0.captured_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.captured_cents","typeLabel":"integer | null"},"payment_method":{"oneOf":[{"type":"string","title":"Payment Method","uniqueKey":"payment.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"type":"null","title":"Payment Method","uniqueKey":"payment.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.payment_method","typeLabel":"string | null"},"payment_intent_id":{"oneOf":[{"type":"string","title":"Payment Intent Id","uniqueKey":"payment.oneOf.0.payment_intent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Payment Intent Id","uniqueKey":"payment.oneOf.0.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.oneOf.0.payment_intent_id","typeLabel":"string | null"},"simulated":{"type":"boolean","title":"Simulated","default":false,"uniqueKey":"payment.oneOf.0.simulated","typeLabel":"boolean"}},"uniqueKey":"payment.oneOf.0","typeLabel":"OrderPaymentInfo · object"},{"type":"null","description":"Card hold details when this order was paid by card outside the wallet and Connect; null for wallet and Connect orders.","uniqueKey":"payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment","typeLabel":"OrderPaymentInfo · object | null"},"customer_notifications":{"oneOf":[{"type":"object","title":"CustomerNotificationStatus","description":"End-customer email-notification status when the order opted into the notifications add-on; null when it didn't.","required":["email"],"properties":{"email":{"type":"string","title":"Email","isRequired":true,"uniqueKey":"customer_notifications.oneOf.0.email","typeLabel":"string"},"delivered":{"oneOf":[{"type":"boolean","title":"Delivered","uniqueKey":"customer_notifications.oneOf.0.delivered.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Delivered","uniqueKey":"customer_notifications.oneOf.0.delivered.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_notifications.oneOf.0.delivered","typeLabel":"boolean | null"}},"uniqueKey":"customer_notifications.oneOf.0","typeLabel":"CustomerNotificationStatus · object"},{"type":"null","description":"End-customer email-notification status when the order opted into the notifications add-on; null when it didn't.","uniqueKey":"customer_notifications.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_notifications","typeLabel":"CustomerNotificationStatus · object | null"},"fulfillment":{"properties":{"gift":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if the retailer offers no free gift option, place a normal order instead of failing with `gift_option_unavailable`. Requires `is_gift: true`. Omit to keep the gift requirement strict.","enum":["best_effort"],"uniqueKey":"fulfillment.gift.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if the retailer offers no free gift option, place a normal order instead of failing with `gift_option_unavailable`. Requires `is_gift: true`. Omit to keep the gift requirement strict.","uniqueKey":"fulfillment.gift.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.gift","typeLabel":"enum\u003cstring> | null"},"items":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if an item can't be bought (not found, out of stock, variant or condition unavailable, add-to-cart failed), skip it and ship the rest — its status becomes `skipped`. An empty cart still fails. Omit for all-or-nothing.","enum":["best_effort"],"uniqueKey":"fulfillment.\\items.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if an item can't be bought (not found, out of stock, variant or condition unavailable, add-to-cart failed), skip it and ship the rest — its status becomes `skipped`. An empty cart still fails. Omit for all-or-nothing.","uniqueKey":"fulfillment.\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.\\items","typeLabel":"enum\u003cstring> | null"},"quantity":{"oneOf":[{"type":"string","title":"FulfillmentMode","description":"`best_effort`: if the retailer caps an item below the requested quantity, buy the cap instead of failing with `quantity_limit_exceeded`. Omit to require the full quantity.","enum":["best_effort"],"uniqueKey":"fulfillment.quantity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`best_effort`: if the retailer caps an item below the requested quantity, buy the cap instead of failing with `quantity_limit_exceeded`. Omit to require the full quantity.","uniqueKey":"fulfillment.quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.quantity","typeLabel":"enum\u003cstring> | null"},"excluded_merchants":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fulfillment.excluded_merchants.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Excluded Merchants","description":"Merchants this order must never be bought from: a display name as shown on the retailer's storefront (matched ignoring case and spacing) or an Amazon Business `amzn1.` merchant id (Amazon Business orders only; refused on other orders). At most 20 entries. Added to any blocklist already on your account; it can only bar more merchants, never allow a barred one. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere. When no allowed offer is left the item fails as `product_unavailable`; on orders placed with a retailer account or on Walmart, `error_details` names the barred sellers (`barred_sellers`) and why (`merchant_rule`).","maxItems":20,"uniqueKey":"fulfillment.excluded_merchants.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Excluded Merchants","description":"Merchants this order must never be bought from: a display name as shown on the retailer's storefront (matched ignoring case and spacing) or an Amazon Business `amzn1.` merchant id (Amazon Business orders only; refused on other orders). At most 20 entries. Added to any blocklist already on your account; it can only bar more merchants, never allow a barred one. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere. When no allowed offer is left the item fails as `product_unavailable`; on orders placed with a retailer account or on Walmart, `error_details` names the barred sellers (`barred_sellers`) and why (`merchant_rule`).","uniqueKey":"fulfillment.excluded_merchants.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.excluded_merchants","typeLabel":"string[] | null"},"included_merchants":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fulfillment.included_merchants.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Included Merchants","description":"Only buy this order from these merchants: same entry format as `excluded_merchants`, at most 20 entries. Offers from any other merchant are skipped; if none of the listed merchants has a qualifying offer the item fails as unavailable. Exclusions still win: a merchant on both lists, or on your account's blocklist, is never used. Other offer rules (condition, delivery time, the price cap; on Amazon Business also Prime unless it's the Buy Box) still apply. Ignored when `first_party_only` is set. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","maxItems":20,"uniqueKey":"fulfillment.included_merchants.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Included Merchants","description":"Only buy this order from these merchants: same entry format as `excluded_merchants`, at most 20 entries. Offers from any other merchant are skipped; if none of the listed merchants has a qualifying offer the item fails as unavailable. Exclusions still win: a merchant on both lists, or on your account's blocklist, is never used. Other offer rules (condition, delivery time, the price cap; on Amazon Business also Prime unless it's the Buy Box) still apply. Ignored when `first_party_only` is set. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.included_merchants.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.included_merchants","typeLabel":"string[] | null"},"first_party_only":{"oneOf":[{"type":"boolean","title":"First Party Only","description":"`true`: only buy offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller (including ones fulfilled by the retailer) and Amazon's cross-border, used/returns, pharmacy and gift-card stores. If the retailer doesn't sell the item the item fails as unavailable. Takes the place of every merchant list: `included_merchants`, `excluded_merchants` and any blocklist on your account are not applied to this order. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.first_party_only.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"First Party Only","description":"`true`: only buy offers sold by the retailer itself (Amazon on Amazon, Walmart.com on Walmart), skipping every third-party seller (including ones fulfilled by the retailer) and Amazon's cross-border, used/returns, pharmacy and gift-card stores. If the retailer doesn't sell the item the item fails as unavailable. Takes the place of every merchant list: `included_merchants`, `excluded_merchants` and any blocklist on your account are not applied to this order. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and Walmart orders; ignored elsewhere.","uniqueKey":"fulfillment.first_party_only.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.first_party_only","typeLabel":"boolean | null"},"shipping":{"oneOf":[{"type":"string","title":"ShippingSpeed","description":"Preferred delivery speed. `fast_free`: the fastest free delivery option, never a slower free one (such as a no-rush option); on Amazon Business this is usually what standard delivery picks anyway. `fastest`: the fastest option even if it costs more (e.g. same-day for a fee); paid shipping counts toward `max_price`. When the fastest option would push the order over `max_price`, an Amazon Business order fails with `max_price_exceeded`; other orders take the fastest option that keeps the total within it. A preference, not a guarantee: when the preferred option isn't offered the order ships with the next best one instead of failing. Omit for the retailer's standard delivery. `handling_days_max` still applies. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and orders on other retailers; ignored on other Amazon orders.","enum":["fast_free","fastest"],"uniqueKey":"fulfillment.shipping.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Preferred delivery speed. `fast_free`: the fastest free delivery option, never a slower free one (such as a no-rush option); on Amazon Business this is usually what standard delivery picks anyway. `fastest`: the fastest option even if it costs more (e.g. same-day for a fee); paid shipping counts toward `max_price`. When the fastest option would push the order over `max_price`, an Amazon Business order fails with `max_price_exceeded`; other orders take the fastest option that keeps the total within it. A preference, not a guarantee: when the preferred option isn't offered the order ships with the next best one instead of failing. Omit for the retailer's standard delivery. `handling_days_max` still applies. Applied to Amazon Business orders, Amazon orders placed with `retailer_credentials_id`, and orders on other retailers; ignored on other Amazon orders.","uniqueKey":"fulfillment.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.shipping","typeLabel":"enum\u003cstring> | null"},"concessions":{"items":{"properties":{"concern":{"type":"string","enum":["gift","items","quantity"],"title":"Concern","isRequired":true,"uniqueKey":"fulfillment.concessions.items.[INDEX].concern","typeLabel":"enum\u003cstring>"},"code":{"type":"string","title":"Code","description":"Worker error code that would have failed a strict order.","isRequired":true,"uniqueKey":"fulfillment.concessions.items.[INDEX].code","typeLabel":"string"},"message":{"oneOf":[{"type":"string","title":"Message","uniqueKey":"fulfillment.concessions.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message","uniqueKey":"fulfillment.concessions.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.concessions.items.[INDEX].message","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","title":"Item Id","description":"Order item this concession is about, if any.","format":"uuid","uniqueKey":"fulfillment.concessions.items.[INDEX].item_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Item Id","description":"Order item this concession is about, if any.","uniqueKey":"fulfillment.concessions.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.concessions.items.[INDEX].item_id","typeLabel":"string\u003cuuid> | null"},"url":{"oneOf":[{"type":"string","title":"Url","uniqueKey":"fulfillment.concessions.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","uniqueKey":"fulfillment.concessions.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.concessions.items.[INDEX].url","typeLabel":"string | null"},"requested_quantity":{"oneOf":[{"type":"integer","title":"Requested Quantity","uniqueKey":"fulfillment.concessions.items.[INDEX].requested_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Requested Quantity","uniqueKey":"fulfillment.concessions.items.[INDEX].requested_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.concessions.items.[INDEX].requested_quantity","typeLabel":"integer | null"},"fulfilled_quantity":{"oneOf":[{"type":"integer","title":"Fulfilled Quantity","uniqueKey":"fulfillment.concessions.items.[INDEX].fulfilled_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Fulfilled Quantity","uniqueKey":"fulfillment.concessions.items.[INDEX].fulfilled_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfillment.concessions.items.[INDEX].fulfilled_quantity","typeLabel":"integer | null"}},"additionalProperties":true,"type":"object","required":["concern","code"],"title":"FulfillmentConcession","description":"One rule that was actually relaxed while placing the order.","uniqueKey":"fulfillment.concessions.items.[INDEX]","typeLabel":"FulfillmentConcession · object"},"type":"array","title":"Concessions","default":[],"uniqueKey":"fulfillment.concessions","typeLabel":"FulfillmentConcession · object[]"}},"type":"object","title":"OrderFulfillment","description":"`gift`/`items`/`quantity`: the mode this order asked for on each rule (all null = strict). `concessions`: every rule that actually was relaxed, with the worker's code and the item it concerned. Empty concessions means the order was fulfilled exactly as requested.","uniqueKey":"fulfillment","typeLabel":"OrderFulfillment · object"},"status_checked_at":{"oneOf":[{"type":"string","title":"Status Checked At","description":"When Zinc last got an answer about this order's status or tracking from the retailer or a carrier (UTC). An answer of 'no tracking yet' counts; failed attempts do not. Null until the first successful check.","format":"date-time","uniqueKey":"status_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Status Checked At","description":"When Zinc last got an answer about this order's status or tracking from the retailer or a carrier (UTC). An answer of 'no tracking yet' counts; failed attempts do not. Null until the first successful check.","uniqueKey":"status_checked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"status_checked_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["id","status","max_price","attempts","items","shipping_address","retailer_credentials_id","created_at","updated_at"],"title":"OrderResponse","description":"Response model for order data.","uniqueKey":"","typeLabel":"OrderResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","max_price":123,"attempts":123,"items":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","url":"\u003cstring>","quantity":123,"status":"pending","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","variant":[{"label":"\u003cstring>","value":"\u003cstring>"}],"condition_in":["New"],"condition_not_in":["New"],"cancellation_reason":"\u003cstring>","error_type":"\u003cstring>","tracking_number_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"]}],"shipping_address":{},"retailer_credentials_id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","metadata":{},"po_number":"\u003cstring>","handling_days_max":123,"is_gift":false,"gift_message":"\u003cstring>","retailer_credentials_uuid":"\u003cstring>","buying_account":{"short_id":"\u003cstring>","email":"\u003cstring>","is_global":true,"has_password":true,"has_totp":true},"job_result":{"success":true,"error":"\u003cstring>","error_type":"\u003cstring>","error_details":{"code":"\u003cstring>","message":"\u003cstring>","url":"\u003cstring>","address_validation_reasons":[],"field_errors":[],"line_rejections":[]},"price_components":{"subtotal":123,"tax":123,"shipping":123,"discount":123,"fees":123,"total":123,"converted_payment_total":123,"currency":"\u003cstring>","payment_currency":"\u003cstring>","cart_items":[{"name":"\u003cstring>","product_id":"\u003cstring>","quantity":123,"unit_price":123,"line_total":123}],"line_items":[{}],"breakdown_recorded":true},"estimated_delivery":"\u003cstring>","merchant_order_ids":[{}]},"merchant_order_ids":[],"tracking_numbers":[],"created_by":"\u003cstring>","user_id":123,"returns":[],"cases":[],"connect":{"state":"\u003cstring>","secured_amount":123,"order_cost":123,"customer_margin":123,"zinc_fee":123,"stripe_fee":123,"final_charge":123,"transfer_amount":123,"payment_intent_id":"\u003cstring>","connected_account_id":"\u003cstring>","simulated":false},"payment":{"state":"\u003cstring>","authorized_cents":123,"fee_cents":123,"mode":"card","stripe_fee_cents":123,"captured_cents":123,"payment_method":"\u003cstring>","payment_intent_id":"\u003cstring>","simulated":false},"customer_notifications":{"email":"\u003cstring>","delivered":true},"fulfillment":{"gift":"best_effort","items":"best_effort","quantity":"best_effort","excluded_merchants":["\u003cstring>"],"included_merchants":["\u003cstring>"],"first_party_only":true,"shipping":"fast_free","concessions":[]},"status_checked_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"links":{"GetOrder":{"operationId":"get_order_orders__order_id__get","parameters":{"order_id":"$response.body#/id"},"description":"Poll this order until placement finishes: `status` leaves `pending`/`in_progress`."}},"exampleType":"generated"},"9f2362ed-f15a-4e87-beb8-111ded243095":{"description":"Bad request — including an `Idempotency-Key` header that differs from the `idempotency_key` body field.","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","invalid_token","token_expired","account_suspended","not_found","already_exists","validation_error","insufficient_funds","authorization_pending","slow_down","expired_token","access_denied","payment_failed","payment_method_required","payment_required","invalid_payment_method","card_verification_required","invalid_shipping_address","url_unreachable","non_us_retailer","unsupported_retailer","unsupported_country","retailer_country_not_supported","guest_checkout_not_supported","invalid_variant","unsupported_product","out_of_stock","shipping_unavailable","order_not_cancellable","return_not_allowed","case_not_allowed","external_service_error","stripe_error","stytch_error","internal_error","bad_request","rate_limit_exceeded","service_unavailable"],"title":"ErrorCode","description":"Standardized error codes for the API.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","title":"Details","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"}},"type":"object","required":["code","message"],"title":"ErrorDetail","description":"Standard error response body.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetail · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"Wrapper for error responses.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"257a8fea-02a1-4be1-9c30-8fe88e720083":{"description":"Replay: you already placed an order under this idempotency key (header or body field). Nothing was created or charged; the original order's id is in `error.details.order_id` when it can be named (absent after a concurrent duplicate, or when the key was used for a different card-mode basket).","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","invalid_token","token_expired","account_suspended","not_found","already_exists","validation_error","insufficient_funds","authorization_pending","slow_down","expired_token","access_denied","payment_failed","payment_method_required","payment_required","invalid_payment_method","card_verification_required","invalid_shipping_address","url_unreachable","non_us_retailer","unsupported_retailer","unsupported_country","retailer_country_not_supported","guest_checkout_not_supported","invalid_variant","unsupported_product","out_of_stock","shipping_unavailable","order_not_cancellable","return_not_allowed","case_not_allowed","external_service_error","stripe_error","stytch_error","internal_error","bad_request","rate_limit_exceeded","service_unavailable"],"title":"ErrorCode","description":"Standardized error codes for the API.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","title":"Details","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"Details · object"},{"type":"null","title":"Details","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"Details · object | null"}},"type":"object","required":["code","message"],"title":"ErrorDetail","description":"Standard error response body.","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorDetail · object"}},"type":"object","required":["error"],"title":"ErrorResponse","description":"Wrapper for error responses.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"links":{"GetOrder":{"operationId":"get_order_orders__order_id__get","parameters":{"order_id":"$response.body#/error/details/order_id"},"description":"Poll this order until placement finishes: `status` leaves `pending`/`in_progress`."}},"exampleType":"generated"},"fc83ff89-548f-4d00-bc8f-c9f885ec26f4":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ad6af2d4-f427-4f06-b82e-dd8126a65aef":{"BearerAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Zinc API key (Bearer zn_...)","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"dafa06c8-8f2c-4930-86e3-32bb9280e412":{"url":"https://api.zinc.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Zinc API key (Bearer zn_...)","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Authorization","type":"string","description":"Zinc API key (Bearer zn_...)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"versions/latest.json"},"subdomain":"zinc","siteName":"Zinc Docs","title":"Create Order - Zinc Docs","navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1/api-reference/orders/create","matchLevel":2},"v2 - 2026-11-19":{"href":"/v2/api-reference/orders/create-order","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T00:36:14.884Z","originalFileLocation":"v2/api-reference/orders/create-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zinc Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Order - Zinc Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zinc Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.zinc.com/docs/v2/api-reference/orders/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zinc.mintlify.site/docs/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=Place+a+purchase+order+on+Amazon%2C+Walmart%2C+and+other+retailers+via+the+Zinc+API.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=640f813e1fa37262654b7d2711a6dbceffb318f1fd3346d81fc85a034e7eeef3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Order - Zinc Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zinc.mintlify.site/docs/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=Place+a+purchase+order+on+Amazon%2C+Walmart%2C+and+other+retailers+via+the+Zinc+API.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=640f813e1fa37262654b7d2711a6dbceffb318f1fd3346d81fc85a034e7eeef3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/zinc/_LtPLM5Rgn46vKzY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zinc Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#386DF0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.zinc.com/docs/v2/api-reference/orders/create-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/v2/api-reference/orders/create-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.zinc.com/#organization\",\"name\":\"Zinc Docs\",\"url\":\"https://www.zinc.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zinc/exQ2EzxrXSSg0dh-/logo/light.png?fit=max\u0026auto=format\u0026n=exQ2EzxrXSSg0dh-\u0026q=85\u0026s=633d13238d6799080400fbb91b9d08b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.zinc.com/docs#website\",\"name\":\"Zinc Docs\",\"url\":\"https://www.zinc.com/docs\",\"publisher\":{\"@id\":\"https://www.zinc.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order#webpage\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order\",\"name\":\"Create Order\",\"description\":\"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\",\"dateModified\":\"2026-11-20T00:36:14.884Z\",\"isPartOf\":{\"@id\":\"https://www.zinc.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Zinc Docs\",\"item\":\"https://www.zinc.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Order\",\"item\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order#apireference\",\"headline\":\"Create Order\",\"name\":\"Create Order\",\"description\":\"Place a purchase order on Amazon, Walmart, and other retailers via the Zinc API.\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/orders/create-order#webpage\"},\"dateModified\":\"2026-11-20T00:36:14.884Z\",\"publisher\":{\"@id\":\"https://www.zinc.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.zinc.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zinc Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Zinc Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/v2/api-reference/orders/create-order.md","siteName":"Zinc Docs","nav":{"global":null,"versions":[{"version":"v1","pages":[{"title":"v1","href":"/v1/api-reference/orders/create"}]},{"version":"v2 - 2026-11-19","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Authentication","icon":"key","href":"/v2/api-reference/introduction/authentication"},{"title":"Idempotency","icon":"repeat-1","href":"/v2/api-reference/introduction/idempotency"},{"title":"Sandbox \u0026 Testing","icon":"flask-vial","href":"/v2/api-reference/introduction/sandbox"},{"title":"Error Handling","icon":"triangle-exclamation","href":"/v2/api-reference/introduction/error-handling"},{"title":"Webhooks","icon":"bell","href":"/v2/api-reference/introduction/webhooks"},{"title":"API Changelog","icon":"code-compare","href":"/v2/api-reference/introduction/api-changelog"}]},{"group":"Agent Sandbox","pages":[{"title":"Agent Sandbox","sidebarTitle":"Overview","icon":"robot","href":"/v2/api-reference/sandbox/overview"},{"title":"Mint a Sandbox Key","openapi":"versions/latest.json POST /sandbox/keys","href":"/v2/api-reference/sandbox/mint-sandbox-key"},{"title":"Agent Quickstart","openapi":"versions/latest.json GET /sandbox/quickstart","href":"/v2/api-reference/sandbox/get-agent-quickstart"},{"title":"Claim a Sandbox","openapi":"versions/latest.json POST /sandbox/claim","href":"/v2/api-reference/sandbox/claim-sandbox"},{"title":"Get Sandbox Status","openapi":"versions/latest.json GET /sandbox/status","href":"/v2/api-reference/sandbox/get-sandbox-status"}]},{"group":"Device Approval","pages":[{"title":"Start a Device Code","openapi":"versions/latest.json POST /device/code","href":"/v2/api-reference/device/start-device-code"},{"title":"Redeem a Device Code","openapi":"versions/latest.json POST /device/token","href":"/v2/api-reference/device/redeem-device-code"},{"title":"Describe a Device Code","openapi":"versions/latest.json GET /device/codes/{user_code}","href":"/v2/api-reference/device/describe-device-code"},{"title":"Approve a Device Code","openapi":"versions/latest.json POST /device/approve","href":"/v2/api-reference/device/approve-device-code"}]},{"group":"Search (Beta)","pages":[{"title":"Cross-Retailer Search","description":"Search every retailer Zinc supports in a single API call to compare products and prices (beta).","openapi":"versions/latest.json GET /search","href":"/v2/api-reference/search/cross-retailer"}]},{"group":"Orders","pages":[{"title":"Create Order","openapi":"versions/latest.json POST /orders","href":"/v2/api-reference/orders/create-order"},{"title":"List Orders","description":"List and filter all orders placed through your Zinc account.","openapi":"versions/latest.json GET /orders","href":"/v2/api-reference/orders/list-orders"},{"title":"Get Order","openapi":"versions/latest.json GET /orders/{order_id}","href":"/v2/api-reference/orders/get-order"},{"title":"Get Order Timeline","openapi":"versions/latest.json GET /orders/{order_id}/timeline","href":"/v2/api-reference/orders/get-order-timeline"},{"title":"Cancel Order","openapi":"versions/latest.json POST /orders/{order_id}/cancel","href":"/v2/api-reference/orders/cancel-order"},{"title":"Order Tracking","icon":"truck-fast","href":"/v2/api-reference/orders/tracking"},{"title":"Get Public Tracking","openapi":"versions/latest.json GET /track/{order_id}","href":"/v2/api-reference/orders/get-public-tracking"},{"title":"Export Orders","openapi":"versions/latest.json GET /orders/export","href":"/v2/api-reference/orders/export-orders"},{"title":"The Products Array","icon":"boxes-stacked","href":"/v2/api-reference/orders/multiple-products-quantities"}]},{"group":"Bulk Orders","pages":[{"title":"Validate Bulk Upload","openapi":"versions/latest.json POST /orders/bulk/validate","href":"/v2/api-reference/orders/validate-bulk-upload"},{"title":"Create Bulk Upload","openapi":"versions/latest.json POST /orders/bulk","href":"/v2/api-reference/orders/create-bulk-upload"},{"title":"List Bulk Uploads","openapi":"versions/latest.json GET /orders/bulk","href":"/v2/api-reference/orders/list-bulk-uploads"},{"title":"Get Bulk Upload","openapi":"versions/latest.json GET /orders/bulk/{batch_id}","href":"/v2/api-reference/orders/get-bulk-upload"},{"title":"Download Bulk Results","openapi":"versions/latest.json GET /orders/bulk/{batch_id}/results.csv","href":"/v2/api-reference/orders/download-bulk-results"}]},{"group":"Managed Accounts","pages":[{"title":"List Managed Accounts","openapi":"versions/latest.json GET /managed-accounts","href":"/v2/api-reference/managed-accounts/list-managed-accounts"},{"title":"Create Managed Account","openapi":"versions/latest.json POST /managed-accounts","href":"/v2/api-reference/managed-accounts/create-managed-account"},{"title":"Update Managed Account","openapi":"versions/latest.json PUT /managed-accounts/{short_id}","href":"/v2/api-reference/managed-accounts/update-managed-account"},{"title":"Delete Managed Account","openapi":"versions/latest.json DELETE /managed-accounts/{short_id}","href":"/v2/api-reference/managed-accounts/delete-managed-account"},{"title":"Retailer Credentials","sidebarTitle":"Configuration","icon":"key-skeleton","href":"/v2/api-reference/configuration/managed-accounts"}]},{"group":"Returns","pages":[{"title":"Create Return Request","openapi":"versions/latest.json POST /returns","href":"/v2/api-reference/returns/create-return"},{"title":"List Return Requests","openapi":"versions/latest.json GET /returns","href":"/v2/api-reference/returns/list-returns"},{"title":"Get Return Request","openapi":"versions/latest.json GET /returns/{return_request_id}","href":"/v2/api-reference/returns/get-return"}]},{"group":"Cases","pages":[{"title":"Create Case","openapi":"versions/latest.json POST /cases","href":"/v2/api-reference/cases/create-case"},{"title":"List Cases","openapi":"versions/latest.json GET /cases","href":"/v2/api-reference/cases/list-cases"},{"title":"Get Case","openapi":"versions/latest.json GET /cases/{case_id}","href":"/v2/api-reference/cases/get-case"},{"title":"Post Case Message","openapi":"versions/latest.json POST /cases/{case_id}/messages","href":"/v2/api-reference/cases/post-case-message"},{"title":"Close Case","openapi":"versions/latest.json POST /cases/{case_id}/close","href":"/v2/api-reference/cases/close-case"}]},{"group":"Product Data","pages":[{"title":"Search Products","openapi":"versions/latest.json GET /products/search","href":"/v2/api-reference/products/search"},{"title":"Get Product Details","openapi":"versions/latest.json GET /products/{product_id}","href":"/v2/api-reference/products/get-product"},{"title":"Get Product Offers","openapi":"versions/latest.json GET /products/{product_id}/offers","href":"/v2/api-reference/products/get-product-offers"}]},{"group":"Retailers","pages":[{"title":"List Retailers","openapi":"versions/latest.json GET /retailers","href":"/v2/api-reference/retailers/list-retailers"},{"title":"Check a Retailer","openapi":"versions/latest.json GET /retailers/check","href":"/v2/api-reference/retailers/check-retailer"}]},{"group":"Agent","pages":[{"title":"Create Agent Order","openapi":"versions/latest.json POST /agent/orders","href":"/v2/api-reference/agent/create-order"},{"title":"Agent Search","openapi":"versions/latest.json POST /agent/search","href":"/v2/api-reference/agent/search"},{"title":"Agent Product Search","openapi":"versions/latest.json POST /agent/products/search","href":"/v2/api-reference/agent/product-search"},{"title":"Agent Product Offers","openapi":"versions/latest.json POST /agent/products/offers","href":"/v2/api-reference/agent/product-offers"},{"title":"Agent Product Details","openapi":"versions/latest.json POST /agent/products/details","href":"/v2/api-reference/agent/product-details"}]},{"group":"Wallet","pages":[{"title":"Get Wallet","openapi":"versions/latest.json GET /wallet/me","href":"/v2/api-reference/wallet/get-wallet"}]},{"group":"Webhooks","pages":[{"title":"Get Webhook Endpoint","openapi":"versions/latest.json GET /webhooks/endpoint","href":"/v2/api-reference/webhooks/get-webhook-endpoint"},{"title":"Set Webhook Endpoint","openapi":"versions/latest.json PUT /webhooks/endpoint","href":"/v2/api-reference/webhooks/set-webhook-endpoint"},{"title":"Clear Webhook Endpoint","openapi":"versions/latest.json DELETE /webhooks/endpoint","href":"/v2/api-reference/webhooks/clear-webhook-endpoint"}]},{"group":"Usage","pages":[{"title":"Get My Usage","openapi":"versions/latest.json GET /usage","href":"/v2/api-reference/usage/get-my-usage"}]}]}]}]},"basePath":"","title":"Create Order - Zinc Docs","deploymentId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","buildId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","07c022d89b","a9bb46feb3","a74be98ba7"],"chunks":["OpenApiReferenceProvider-1OxfpBIE.js","snippetPresets-z4KUQRYf.js","utils-Cw7_7ofN.js","style-to-object-BY3JEAdk.js","utils-B6e3ZTcE.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-BjYqZ_Sx.js","conditional-requirements-CFM0id0Q.js","cloneDeep-NwHJqvNG.js","_Uint8Array-DQvCfChM.js","isObject-FP1Yky1u.js","ApiExamples-CMZS0IKC.js","usePlaygroundInputsStore-DOq4CN7a.js","shallow-20RUKd1y.js","isEqual-C3PA3NAf.js","CodeSnippets-B_jcR0B0.js","CodeSnippet-CKfp22tI.js","getApiPlaygroundDisplay-CNG71d0M.js","Page-UgONhIcS.js","DynamicMarkdown-DYGX_69W.js","SectionHeading-BohVFepQ.js","icon-kxB1kMxf.js","MethodPill-CcUxUXUe.js","getPastedJson-Beh26NhW.js","Check2Icon-BuCJBlgS.js","axios-CsQoIw0U.js","Frame-9igxfQ2B.js","Markdown-CuH8Eulu.js","AssistantPageLink-CvdrpKtq.js","dist-5uEodgD_.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","zoom-image-lightbox-BwrdYPf2.js","lightbox-handle-r17bVUz3.js"]}