Place an order and pay for it per request over HTTP 402 Payment Required. You don’t need a Zinc account or API key. The agent pays max_price + the $1.00 API fee upfront, and anything the order doesn’t use is refunded to the original payment.
Rail
Pays with
Proof header on the retry
Link
A card from the user’s Link wallet, as a Shared Payment Token (MPP method="stripe")
Authorization: Payment <credential>
Tempo
USDC on Tempo (MPP method="tempo")
Authorization: Payment <credential>
x402
USDC on Base or Solana
PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1)
How It Works
Send the order — POST /agent/orders with a complete order body and no payment.
Get the challenge — Zinc checks the body and returns 402 with a challenge for every rail: one WWW-Authenticate header per MPP method, plus a PAYMENT-REQUIRED header for x402.
Pay and resubmit — pay on one rail and send the identical request again with the proof header.
Order placed — Zinc verifies the payment and returns 201 with the order and an X-Api-Key header.
This endpoint takes the same OrderCreate body as the standard Create Order endpoint. Only authentication and payment differ. The same limits apply, including at most 10 products per order, and they’re checked before the agent is charged.
Validation before payment
An agent is never charged for an order Zinc would reject:
No body, {}, or null — treated as a discovery probe (for example from a service registry) and answered with a 402 at a placeholder amount.
A malformed or incomplete body (including invalid JSON) — 422 straight away. No challenge is issued.
An order Zinc can’t fulfill (unsupported retailer, unreachable product URL, unsupported shipping country, invalid address) — checked on the paid retry, before the proof is charged, and rejected with 400. The payment is left untouched, so you can fix the order and retry with it.
Send the complete body on the first request. The challenge amount comes from its max_price.
Choosing a rail
By default the 402 lists every rail. Add ?method=stripe, ?method=tempo, or ?method=x402 to get only that challenge. This helps clients that can’t pick one WWW-Authenticate header out of several. An unknown method returns 400 with the available ones in error.details.available.
Test mode
Send X-Test-Mode: true to run the same flow without real funds. The 402 offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is created in the sandbox, where it’s simulated like any zn_test_ order and never reaches a retailer. The X-Api-Key returned is a zn_test_ key.
Testnet payments are not refunded, including unused max_price budget.
Responses
402 Payment Required
string
One header per MPP method (stripe, tempo), per RFC 9110 §11.6.1. Your MPP client or link-cli uses it to pay and resubmit.
string
Base64 x402 v2 PaymentRequired envelope, with one accepts[] entry per supported chain.
201 Created
string
API key for the paying agent. Use it to read the order (GET /orders/{id}), cancel it while pending, and register a webhook URL (PUT /webhooks/endpoint). Store it. It’s the only way to follow the order without paying again.
string
MPP receipt for the charge (Link and Tempo).
string
x402 settlement response (x402 only).
409 Conflict
Returned when this payer already placed an order with the same idempotency_key. The check runs after the payment proof is verified but before it’s settled, so retrying a request that timed out never charges twice. The existing order’s id is in error.details.order_id, and the response carries an X-Api-Key header to read it.
See Agentic Purchases for a full walkthrough of paying with Link, MPP, or x402, including the one-command link-cli mpp pay flow.
Headers
authorization
string | null
x-test-mode
string | null
Set to 'true' for test mode: the 402 offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is simulated in the sandbox — no real funds, no retailer order. The X-Api-Key returned is a zn_test_ key.
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 the paying wallet. A replay is detected after the payment proof is verified but before it is settled, so the retry is never charged: it answers 409 already_exists with the original order's id in error.details.order_id (absent only if the two requests arrived concurrently) and the payer's API key in the X-Api-Key response header — read the order with GET /orders/{order_id}.
Maximum string length: 36
Query Parameters
method
string | null
Restrict the 402 to a single payment method (e.g. 'stripe', 'tempo', or 'x402'). Omit to advertise every configured method. Use this when your client can satisfy only one rail — it avoids returning multiple WWW-Authenticate challenges, which many HTTP clients mishandle.
Body
application/json
Request model for creating a new order.
products
OrderProduct · object[]
required
Minimum array length: 1
Show child attributes
shipping_address
Address · object
required
Shipping address model.
Supports international addresses. The state field is optional for countries
that don't use states/provinces. The country field uses ISO 3166-1 alpha-2
country codes (e.g., "US", "CA", "GB", "DE"), which are required rather than
inferred — a longer spelling like "USA" is rejected with the code to use, so
everything downstream can rely on seeing alpha-2.
Show child attributes
max_price
integer
required
Maximum price (in cents) allowed for an order before it is finalized.
Required range: x >= 0
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/agent/create-order","slug":"/v2/api-reference/agent/create-order","pageMetadata":{"title":"Create Agent Order","description":"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.","openapi":"versions/latest.json POST /agent/orders","href":"/v2/api-reference/agent/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 an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,ResponseField,Table,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Place an order and pay for it per request over HTTP `,_jsx(_components.code,{children:`402 Payment Required`}),`. You don’t need a Zinc account or API key. The agent pays `,_jsx(_components.code,{children:`max_price`}),` + the $1.00 API fee upfront, and anything the order doesn’t use is refunded to the original payment.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rail`}),_jsx(_components.th,{children:`Pays with`}),_jsx(_components.th,{children:`Proof header on the retry`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Link`})}),_jsxs(_components.td,{children:[`A card from the user’s Link wallet, as a Shared Payment Token (MPP `,_jsx(_components.code,{children:`method=\"stripe\"`}),`)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization: Payment \u003ccredential>`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Tempo`})}),_jsxs(_components.td,{children:[`USDC on Tempo (MPP `,_jsx(_components.code,{children:`method=\"tempo\"`}),`)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization: Payment \u003ccredential>`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`x402`})}),_jsx(_components.td,{children:`USDC on Base or Solana`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PAYMENT-SIGNATURE`}),` (v2) or `,_jsx(_components.code,{children:`X-PAYMENT`}),` (v1)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Send the order`}),` — `,_jsx(_components.code,{children:`POST /agent/orders`}),` with a complete order body and no payment.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get the challenge`}),` — Zinc checks the body and returns `,_jsx(_components.code,{children:`402`}),` with a challenge for every rail: one `,_jsx(_components.code,{children:`WWW-Authenticate`}),` header per MPP method, plus a `,_jsx(_components.code,{children:`PAYMENT-REQUIRED`}),` header for x402.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pay and resubmit`}),` — pay on one rail and send the identical request again with the proof header.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Order placed`}),` — Zinc verifies the payment and returns `,_jsx(_components.code,{children:`201`}),` with the order and an `,_jsx(_components.code,{children:`X-Api-Key`}),` header.`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`This endpoint takes the same `,_jsx(_components.code,{children:`OrderCreate`}),` body as the standard `,_jsx(_components.a,{href:`/v2/api-reference/orders/create-order`,children:`Create Order`}),` endpoint. Only authentication and payment differ. The same limits apply, including `,_jsx(_components.strong,{children:`at most 10 products per order`}),`, and they’re checked before the agent is charged.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`validation-before-payment`,children:`Validation before payment`}),`\n`,_jsx(_components.p,{children:`An agent is never charged for an order Zinc would reject:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`No body, `,_jsx(_components.code,{children:`{}`}),`, or `,_jsx(_components.code,{children:`null`})]}),` — treated as a discovery probe (for example from a service registry) and answered with a `,_jsx(_components.code,{children:`402`}),` at a placeholder amount.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A malformed or incomplete body`}),` (including invalid JSON) — `,_jsx(_components.code,{children:`422`}),` straight away. No challenge is issued.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`An order Zinc can’t fulfill`}),` (unsupported retailer, unreachable product URL, unsupported shipping country, invalid address) — checked on the paid retry, `,_jsx(_components.strong,{children:`before`}),` the proof is charged, and rejected with `,_jsx(_components.code,{children:`400`}),`. The payment is left untouched, so you can fix the order and retry with it.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Send the complete body on the first request. The challenge amount comes from its `,_jsx(_components.code,{children:`max_price`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choosing-a-rail`,children:`Choosing a rail`}),`\n`,_jsxs(_components.p,{children:[`By default the `,_jsx(_components.code,{children:`402`}),` lists every rail. Add `,_jsx(_components.code,{children:`?method=stripe`}),`, `,_jsx(_components.code,{children:`?method=tempo`}),`, or `,_jsx(_components.code,{children:`?method=x402`}),` to get only that challenge. This helps clients that can’t pick one `,_jsx(_components.code,{children:`WWW-Authenticate`}),` header out of several. An unknown method returns `,_jsx(_components.code,{children:`400`}),` with the available ones in `,_jsx(_components.code,{children:`error.details.available`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`test-mode`,children:`Test mode`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`X-Test-Mode: true`}),` to run the same flow without real funds. The `,_jsx(_components.code,{children:`402`}),` offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is created in the `,_jsx(_components.a,{href:`/v2/api-reference/introduction/sandbox`,children:`sandbox`}),`, where it’s simulated like any `,_jsx(_components.code,{children:`zn_test_`}),` order and never reaches a retailer. The `,_jsx(_components.code,{children:`X-Api-Key`}),` returned is a `,_jsx(_components.code,{children:`zn_test_`}),` key.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Testnet payments are not refunded, including unused `,_jsx(_components.code,{children:`max_price`}),` budget.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`responses`,children:`Responses`}),`\n`,_jsx(Heading,{level:`3`,id:`402-payment-required`,children:`402 Payment Required`}),`\n`,_jsx(ResponseField,{name:`WWW-Authenticate`,type:`string`,id:`param-www-authenticate`,children:_jsxs(_components.p,{children:[`One header per MPP method (`,_jsx(_components.code,{children:`stripe`}),`, `,_jsx(_components.code,{children:`tempo`}),`), per RFC 9110 §11.6.1. Your MPP client or `,_jsx(_components.code,{children:`link-cli`}),` uses it to pay and resubmit.`]})}),`\n`,_jsx(ResponseField,{name:`PAYMENT-REQUIRED`,type:`string`,id:`param-payment-required`,children:_jsxs(_components.p,{children:[`Base64 x402 v2 `,_jsx(_components.code,{children:`PaymentRequired`}),` envelope, with one `,_jsx(_components.code,{children:`accepts[]`}),` entry per supported chain.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`201-created`,children:`201 Created`}),`\n`,_jsx(ResponseField,{name:`X-Api-Key`,type:`string`,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`API key for the paying agent. Use it to read the order (`,_jsx(_components.code,{children:`GET /orders/{id}`}),`), cancel it while pending, and register a webhook URL (`,_jsx(_components.code,{children:`PUT /webhooks/endpoint`}),`). Store it. It’s the only way to follow the order without paying again.`]})}),`\n`,_jsx(ResponseField,{name:`Payment-Receipt`,type:`string`,id:`param-payment-receipt`,children:_jsx(_components.p,{children:`MPP receipt for the charge (Link and Tempo).`})}),`\n`,_jsx(ResponseField,{name:`PAYMENT-RESPONSE`,type:`string`,id:`param-payment-response`,children:_jsx(_components.p,{children:`x402 settlement response (x402 only).`})}),`\n`,_jsx(Heading,{level:`3`,id:`409-conflict`,children:`409 Conflict`}),`\n`,_jsxs(_components.p,{children:[`Returned when this payer already placed an order with the same `,_jsx(_components.code,{children:`idempotency_key`}),`. The check runs after the payment proof is verified but `,_jsx(_components.strong,{children:`before`}),` it’s settled, so retrying a request that timed out never charges twice. The existing order’s id is in `,_jsx(_components.code,{children:`error.details.order_id`}),`, and the response carries an `,_jsx(_components.code,{children:`X-Api-Key`}),` header to read it.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/v2/agentic-purchases`,children:`Agentic Purchases`}),` for a full walkthrough of paying with Link, MPP, or x402, including the one-command `,_jsx(_components.code,{children:`link-cli mpp pay`}),` flow.`]})})]})}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 Agent Order","description":"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.","openapi":"versions/latest.json POST /agent/orders","href":"/v2/api-reference/agent/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Validation before payment","slug":"validation-before-payment","depth":2,"children":[]},{"title":"Choosing a rail","slug":"choosing-a-rail","depth":2,"children":[]},{"title":"Test mode","slug":"test-mode","depth":2,"children":[]},{"title":"Responses","slug":"responses","depth":2,"children":[{"title":"402 Payment Required","slug":"402-payment-required","depth":3,"children":[]},{"title":"201 Created","slug":"201-created","depth":3,"children":[]},{"title":"409 Conflict","slug":"409-conflict","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/zinc/a05dd02b586c10cf/zinc-docs-nav.js"],"openApiReferenceData":{"operation":{"tags":["agent"],"summary":"Buy a product from a major online retailer and ship it to a US address","description":"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.","operationId":"create_mpp_order_agent_orders_post","parameters":["276f4ce8-1e45-445f-9559-f5b7db155672","93e26014-eaa5-45f2-b5a5-640b41e2778b","c4bdd9a3-62fc-4ee7-beac-d54c87a910a7","4eb07363-5a19-4f02-b4a1-86578c0301f8"],"responses":{"201":"c7593426-47d3-4e14-8a16-e5b800b76471","400":"39625d2e-b69d-44e3-a1ea-ec5e2173bd45","402":"ea171854-0bf4-4afd-beca-310228e75761","409":"196c3a0b-ef0b-4c4c-a3e4-3d59af3f8568","422":"d4184401-8472-4832-987c-00bf1b5bc919"},"requestBody":"82fcb83b-39f6-4c8f-b1d5-bfaf566d690c","x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"1.00","max":"10000.00"},"protocols":[{"mpp":{"method":"","intent":"charge","currency":""}}]},"security":[],"method":"post","type":"path","servers":["dafa06c8-8f2c-4930-86e3-32bb9280e412"],"path":"/agent/orders","baseUrlOptions":["https://api.zinc.com"],"title":"Buy a product from a major online retailer and ship it to a US address","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"276f4ce8-1e45-445f-9559-f5b7db155672":{"name":"method","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Method","description":"Restrict the 402 to a single payment method (e.g. 'stripe', 'tempo', or 'x402'). Omit to advertise every configured method. Use this when your client can satisfy only one rail — it avoids returning multiple WWW-Authenticate challenges, which many HTTP clients mishandle.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Method","description":"Restrict the 402 to a single payment method (e.g. 'stripe', 'tempo', or 'x402'). Omit to advertise every configured method. Use this when your client can satisfy only one rail — it avoids returning multiple WWW-Authenticate challenges, which many HTTP clients mishandle.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Restrict the 402 to a single payment method (e.g. 'stripe', 'tempo', or 'x402'). Omit to advertise every configured method. Use this when your client can satisfy only one rail — it avoids returning multiple WWW-Authenticate challenges, which many HTTP clients mishandle."},"93e26014-eaa5-45f2-b5a5-640b41e2778b":{"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"}},"c4bdd9a3-62fc-4ee7-beac-d54c87a910a7":{"name":"x-test-mode","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"X-Test-Mode","description":"Set to 'true' for test mode: the 402 offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is simulated in the sandbox — no real funds, no retailer order. The X-Api-Key returned is a zn_test_ key.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-Test-Mode","description":"Set to 'true' for test mode: the 402 offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is simulated in the sandbox — no real funds, no retailer order. The X-Api-Key returned is a zn_test_ key.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Set to 'true' for test mode: the 402 offers testnet rails only (Tempo testnet, Base Sepolia, Solana devnet), and the order is simulated in the sandbox — no real funds, no retailer order. The X-Api-Key returned is a zn_test_ key."},"4eb07363-5a19-4f02-b4a1-86578c0301f8":{"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 the paying wallet. A replay is detected after the payment proof is verified but before it is settled, so the retry is never charged: it answers 409 `already_exists` with the original order's id in `error.details.order_id` (absent only if the two requests arrived concurrently) and the payer's API key in the `X-Api-Key` response header — read the order with GET /orders/{order_id}.","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 the paying wallet. A replay is detected after the payment proof is verified but before it is settled, so the retry is never charged: it answers 409 `already_exists` with the original order's id in `error.details.order_id` (absent only if the two requests arrived concurrently) and the payer's API key in the `X-Api-Key` response header — read the order with GET /orders/{order_id}.","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 the paying wallet. A replay is detected after the payment proof is verified but before it is settled, so the retry is never charged: it answers 409 `already_exists` with the original order's id in `error.details.order_id` (absent only if the two requests arrived concurrently) and the payer's API key in the `X-Api-Key` response header — read the order with GET /orders/{order_id}."}},"requestBody":{"content":{"application/json":{"schema":{"description":"Request model for creating a new order.","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[]"},"shipping_address":{"properties":{"first_name":{"type":"string","title":"First Name","isRequired":true,"uniqueKey":"shipping_address.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"shipping_address.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.address_line1","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"shipping_address.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.postal_code","typeLabel":"string"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"shipping_address.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.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.address_line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipping_address.address_line2","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"shipping_address.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"shipping_address.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shipping_address.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.country","typeLabel":"string"}},"type":"object","required":["first_name","last_name","address_line1","city","postal_code","phone_number"],"title":"Address","description":"Shipping address model.\n\nSupports international addresses. The `state` field is optional for countries\nthat don't use states/provinces. The `country` field uses ISO 3166-1 alpha-2\ncountry codes (e.g., \"US\", \"CA\", \"GB\", \"DE\"), which are required rather than\ninferred — a longer spelling like \"USA\" is rejected with the code to use, so\neverything downstream can rely on seeing alpha-2.","isRequired":true,"uniqueKey":"shipping_address","typeLabel":"Address · 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"},"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"}},"required":["products","shipping_address","max_price"],"title":"OrderCreate","type":"object","uniqueKey":"","typeLabel":"OrderCreate · 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":[]}],"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"},"max_price":1,"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":{"c7593426-47d3-4e14-8a16-e5b800b76471":{"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"}},"headers":{"X-Api-Key":{"description":"API key for the paying agent. Reads the order via GET /orders/{id}, cancels it while pending, and registers a webhook URL via PUT /webhooks/endpoint.","schema":{"type":"string"}},"Payment-Receipt":{"description":"MPP payment receipt confirming the charge (Link and Tempo)","schema":{"type":"string"}},"PAYMENT-RESPONSE":{"description":"x402 settlement response (x402 only)","schema":{"type":"string"}}},"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"},"39625d2e-b69d-44e3-a1ea-ec5e2173bd45":{"description":"Bad request — including an `Idempotency-Key` header that differs from the `idempotency_key` body field (refused before any payment challenge is issued or honored).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ea171854-0bf4-4afd-beca-310228e75761":{"description":"Payment required — returns challenge details for each configured payment method","headers":{"WWW-Authenticate":{"description":"One header per MPP method (`stripe` for Link SPTs, `tempo`), per RFC 9110 §11.6.1","schema":{"type":"string"}},"PAYMENT-REQUIRED":{"description":"x402 v2 PaymentRequired envelope (base64), one `accepts[]` entry per supported chain","schema":{"type":"string"}}},"content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"196c3a0b-ef0b-4c4c-a3e4-3d59af3f8568":{"description":"Duplicate idempotency key (`Idempotency-Key` header or `idempotency_key` body field) — this payer already placed an order under that key. Checked after the payment proof is verified but BEFORE it is settled, so a client that lost the original 201 to a timeout can retry with the same key (and a fresh signed payment) without being charged twice. The existing order's id is in `error.details.order_id`; fetch it with the X-Api-Key header on this response via GET /orders/{id}. Same error shape as POST /orders.","headers":{"X-Api-Key":{"description":"API key for the payer's account, to look up the existing order","schema":{"type":"string"}}},"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`."}},"content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d4184401-8472-4832-987c-00bf1b5bc919":{"description":"Invalid order body — rejected before any payment challenge is issued or honored, so a payment can never be taken for an order that would be rejected. Send a valid OrderCreate body, or no body at all to receive a discovery 402.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"dafa06c8-8f2c-4930-86e3-32bb9280e412":{"url":"https://api.zinc.com","description":"Production"}}},"originalFileLocation":"versions/latest.json"},"subdomain":"zinc","siteName":"Zinc Docs","title":"Create Agent Order - Zinc Docs","navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1","matchLevel":4},"v2 - 2026-11-19":{"href":"/v2/api-reference/agent/create-order","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T23:41:38.571Z","originalFileLocation":"v2/api-reference/agent/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 an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\">\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 Agent Order - Zinc Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\">\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/agent/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=Agent\u0026amp;title=Create+Agent+Order\u0026amp;description=Place+an+order+and+pay+for+it+in+the+same+request+with+Link%2C+MPP%2C+or+x402.+No+Zinc+account+required.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=5579663c1b5e81cd3f13f7be2db668efa90f5a193d91cae14882db2e3573456e\">\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 Agent Order - Zinc Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zinc.mintlify.site/docs/_mintlify/api/og/v2?division=Agent\u0026amp;title=Create+Agent+Order\u0026amp;description=Place+an+order+and+pay+for+it+in+the+same+request+with+Link%2C+MPP%2C+or+x402.+No+Zinc+account+required.\u0026amp;theme=cd1766f847aa1443e7760441\u0026amp;signature=5579663c1b5e81cd3f13f7be2db668efa90f5a193d91cae14882db2e3573456e\">\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/agent/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/agent/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/agent/create-order#webpage\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order\",\"name\":\"Create Agent Order\",\"description\":\"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\",\"dateModified\":\"2026-11-19T23:41:38.571Z\",\"isPartOf\":{\"@id\":\"https://www.zinc.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Zinc Docs\",\"item\":\"https://www.zinc.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Agent Order\",\"item\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order#apireference\",\"headline\":\"Create Agent Order\",\"name\":\"Create Agent Order\",\"description\":\"Place an order and pay for it in the same request with Link, MPP, or x402. No Zinc account required.\",\"url\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://www.zinc.com/docs/v2/api-reference/agent/create-order#webpage\"},\"dateModified\":\"2026-11-19T23:41:38.571Z\",\"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/agent/create-order.md","siteName":"Zinc Docs","nav":{"global":null,"versions":[{"version":"v1","pages":[{"title":"v1","href":"/v1"}]},{"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","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","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","description":"Ask whether Zinc can buy from a given store URL and ship it to a country — no authentication required.","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","description":"Search every supported retailer in one call for AI agents, paid per request via the Machine Payments Protocol (MPP).","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 Agent Order - Zinc Docs","deploymentId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","buildId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","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"]}