Scope: nft:orders · Rate limit: 30 a minute, shared with Estimate a shipment and Estimate a one-token shipmentFor Non-crypto model programs only; a Crypto Wallet program gets 400 NOT_PARTNER_SETTLED.Live carrier rates to ship 1-10 of a customer’s vault cards to an address in one box. Charges nothing and stores nothing: the address only goes to the carrier for the quote. Pass a rate’s carrier and token to Create a customer shipment, with max_cost set to that rate’s total if you sent cover_amount, else its amount.
string
required
Your own id for the customer.
string[]
required
1-10 distinct card.ids from the customer’s vault, for one box.
object
required
name, address1, city and country (ISO 3166 alpha-2) are required; address2 is optional; state and zip where the country uses them; phone is required outside the US. name, address1, address2, city and state take up to 100 characters, zip and phone up to 20. Control and invisible formatting characters are refused, and a US state must be a real state or territory (CA, or its name).
number | null
Shipping insurance cover in dollars, with at most two decimals, within the range the cards allow (the response’s max_cover; a 400 COVER_NOT_ALLOWED gives the range). The sandbox’s one rate offers no cover.
Response
string
string
number
What the cards are worth for cover, in dollars.
number | null
The most they can be covered for; null when they can’t be insured.
number
The cover_amount you sent, when you sent one.
object[]
Show rate
string
string
string
Pass carrier and token as rate to Create a customer shipment.
number
The postage. Pass it as max_cost when you sent no cover_amount.
integer | null
boolean
Only with cover_amount: whether this service offers the cover.
number | null
Only with cover_amount: the cover’s premium on this rate.
number | null
Only with cover_amount: the postage plus the premium (null when the cover isn’t available). Pass it as max_cost.
A Crypto Wallet field (recipient, refund_address, partner_user_ref, holder, payout_chain or payout_address) was sent; fields lists them
400
BAD_CUSTOMER
customer isn’t 1-128 characters of A-Z a-z 0-9 _ . : -, or is only dots
400
BAD_CARD_IDS
card_ids isn’t a list of 1-10 distinct card ids from the vault
400
BAD_ADDRESS
The address is invalid; fields maps each bad field to a message
400
BAD_COVER
cover_amount isn’t a positive dollar amount with at most two decimals
400
COVER_NOT_ALLOWED
cover_amount is outside what the cards can be insured for; the body has order_value, min_cover and max_cover
400
PARTNER_GOODS
An item is held by its brand partner and can’t ship through CatchBack; it can still be sold back
400
COUNTRY_NOT_SUPPORTED
We don’t ship to that country
400
OVER_CUSTOMS_CAP
The cards are worth more than we can ship internationally
403
CUSTOMER_BLOCKED
This customer may not ship cards (capability says which block applies)
403
CUSTOMER_UNAVAILABLE
This customer’s account is unavailable
404
CUSTOMER_NOT_FOUND
No customer with that id has bought from your program
409
CARDS_NOT_IN_VAULT
Your program never pulled a card into this customer’s vault (another customer’s card, or a wrong id); card_ids lists them
409
CARDS_NOT_SHIPPABLE
A card your program pulled into this vault can’t ship right now (for example it was sold back: not_in_vault); cards lists each with its reason (not_in_vault, listed, shipping, on_hold or not_a_card)
429
RATE_LIMITED
Too many estimates from this key; wait retry_after_seconds
502
The carrier didn’t answer; retry
503
We couldn’t check the customer or the cards just now; retry
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CatchBack Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","dark":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_white.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=e3c457633020dab4b98738040c7ae111"},"favicon":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://catchbackcards.com"}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@catchbackcards.com","label":"Support"}],"primary":{"type":"button","label":"Launch App","href":"https://catchbackcards.com"}},"footer":{"socials":{"x":"https://x.com/catchback_cards","instagram":"https://www.instagram.com/catchback_cards","discord":"https://discord.gg/6WjMbRgPMq"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"catchbackcards","hasAudioNarration":false,"actualSubdomain":"catchbackcards","customDomains":[],"gitSource":{"type":"github","owner":"josephhhzhanggg","repo":"catchback-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b055ab3cc55a4c663edbdaa","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Partner API","count":56},{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Shipments","count":14},{"language":"default","tag":"Keys \u0026 revenue","count":8},{"language":"default","tag":"Features","count":7},{"language":"default","tag":"Resources","count":7},{"language":"default","tag":"Tokens \u0026 sell-back","count":7},{"language":"default","tag":"Concepts","count":7},{"language":"default","tag":"Non-crypto model endpoints","count":6}]},"assistantConfig":{},"basePath":"","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":[]}
{"page":{"pagePath":"partner-api/v2/endpoints/estimate-customer-shipment","slug":"/partner-api/v2/endpoints/estimate-customer-shipment","pageMetadata":{"title":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","description":"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.","href":"/partner-api/v2/endpoints/estimate-customer-shipment"},"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: \"Non-crypto model: live carrier rates to ship 1-10 of a customer’s vault cards in one box. Charges nothing and stores nothing.\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Scope: `,_jsx(_components.code,{children:`nft:orders`}),` · Rate limit: 30 a minute, shared with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-shipment`,children:`Estimate a shipment`}),` and `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-token-shipment`,children:`Estimate a one-token shipment`})]}),`\n`,_jsxs(_components.p,{children:[`For `,_jsx(_components.a,{href:`/partner-api/v2/settlement`,children:`Non-crypto model`}),` programs only; a Crypto Wallet program gets `,_jsx(_components.code,{children:`400 NOT_PARTNER_SETTLED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Live carrier rates to ship 1-10 of a customer’s vault cards to an address in one box. Charges nothing and stores nothing: the address only goes to the carrier for the quote. Pass a rate’s `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`token`}),` to `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-customer-shipment`,children:`Create a customer shipment`}),`, with `,_jsx(_components.code,{children:`max_cost`}),` set to that rate’s `,_jsx(_components.code,{children:`total`}),` if you sent `,_jsx(_components.code,{children:`cover_amount`}),`, else its `,_jsx(_components.code,{children:`amount`}),`.`]}),`\n`,_jsx(ParamField,{path:`customer`,type:`string`,required:true,id:`param-customer`,children:_jsx(_components.p,{children:`Your own id for the customer.`})}),`\n`,_jsx(ParamField,{body:`card_ids`,type:`string[]`,required:true,id:`param-card-ids`,children:_jsxs(_components.p,{children:[`1-10 distinct `,_jsx(_components.code,{children:`card.id`}),`s from the customer’s `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/get-customer-vault`,children:`vault`}),`, for one box.`]})}),`\n`,_jsx(ParamField,{body:`address`,type:`object`,required:true,id:`param-address`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`city`}),` and `,_jsx(_components.code,{children:`country`}),` (ISO 3166 alpha-2) are required; `,_jsx(_components.code,{children:`address2`}),` is optional; `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`zip`}),` where the country uses them; `,_jsx(_components.code,{children:`phone`}),` is required outside the US. `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`address2`}),`, `,_jsx(_components.code,{children:`city`}),` and `,_jsx(_components.code,{children:`state`}),` take up to 100 characters, `,_jsx(_components.code,{children:`zip`}),` and `,_jsx(_components.code,{children:`phone`}),` up to 20. Control and invisible formatting characters are refused, and a US `,_jsx(_components.code,{children:`state`}),` must be a real state or territory (`,_jsx(_components.code,{children:`CA`}),`, or its name).`]})}),`\n`,_jsx(ParamField,{body:`cover_amount`,type:`number | null`,id:`param-cover-amount`,children:_jsxs(_components.p,{children:[`Shipping insurance cover in dollars, with at most two decimals, within the range the cards allow (the response’s `,_jsx(_components.code,{children:`max_cover`}),`; a `,_jsx(_components.code,{children:`400 COVER_NOT_ALLOWED`}),` gives the range). The sandbox’s one rate offers no cover.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`destination_country`,type:`string`,id:`param-destination-country`}),`\n`,_jsx(ResponseField,{name:`package_type`,type:`string`,id:`param-package-type`}),`\n`,_jsx(ResponseField,{name:`order_value`,type:`number`,id:`param-order-value`,children:`What the cards are worth for cover, in dollars.`}),`\n`,_jsx(ResponseField,{name:`max_cover`,type:`number | null`,id:`param-max-cover`,children:`The most they can be covered for; null when they can’t be insured.`}),`\n`,_jsxs(ResponseField,{name:`cover_amount`,type:`number`,id:`param-cover-amount-1`,children:[`The `,_jsx(_components.code,{children:`cover_amount`}),` you sent, when you sent one.`]}),`\n`,_jsx(ResponseField,{name:`rates`,type:`object[]`,id:`param-rates`,children:_jsxs(Expandable,{title:`rate`,children:[_jsx(ResponseField,{name:`carrier`,type:`string`,id:`param-carrier`}),_jsx(ResponseField,{name:`service`,type:`string`,id:`param-service`}),_jsxs(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:[`Pass `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`token`}),` as `,_jsx(_components.code,{children:`rate`}),` to Create a customer shipment.`]}),_jsxs(ResponseField,{name:`amount`,type:`number`,id:`param-amount`,children:[`The postage. Pass it as `,_jsx(_components.code,{children:`max_cost`}),` when you sent no `,_jsx(_components.code,{children:`cover_amount`}),`.`]}),_jsx(ResponseField,{name:`estimated_days`,type:`integer | null`,id:`param-estimated-days`}),_jsxs(ResponseField,{name:`cover_available`,type:`boolean`,id:`param-cover-available`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: whether this service offers the cover.`]}),_jsxs(ResponseField,{name:`insurance_premium`,type:`number | null`,id:`param-insurance-premium`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: the cover’s premium on this rate.`]}),_jsxs(ResponseField,{name:`total`,type:`number | null`,id:`param-total`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: the postage plus the premium (null when the cover isn’t available). Pass it as `,_jsx(_components.code,{children:`max_cost`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_PARTNER_SETTLED`})}),_jsxs(_components.td,{children:[`Your program pays through customer wallets; use `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-shipment`,children:`Estimate a shipment`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_JSON`})}),_jsx(_components.td,{children:`The body isn’t JSON`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WALLET_FIELDS_NOT_ACCEPTED`})}),_jsxs(_components.td,{children:[`A Crypto Wallet field (`,_jsx(_components.code,{children:`recipient`}),`, `,_jsx(_components.code,{children:`refund_address`}),`, `,_jsx(_components.code,{children:`partner_user_ref`}),`, `,_jsx(_components.code,{children:`holder`}),`, `,_jsx(_components.code,{children:`payout_chain`}),` or `,_jsx(_components.code,{children:`payout_address`}),`) was sent; `,_jsx(_components.code,{children:`fields`}),` lists them`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CUSTOMER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`customer`}),` isn’t 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, or is only dots`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CARD_IDS`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`card_ids`}),` isn’t a list of 1-10 distinct card ids from the vault`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_ADDRESS`})}),_jsxs(_components.td,{children:[`The address is invalid; `,_jsx(_components.code,{children:`fields`}),` maps each bad field to a message`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_COVER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`cover_amount`}),` isn’t a positive dollar amount with at most two decimals`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`COVER_NOT_ALLOWED`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`cover_amount`}),` is outside what the cards can be insured for; the body has `,_jsx(_components.code,{children:`order_value`}),`, `,_jsx(_components.code,{children:`min_cover`}),` and `,_jsx(_components.code,{children:`max_cover`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PARTNER_GOODS`})}),_jsx(_components.td,{children:`An item is held by its brand partner and can’t ship through CatchBack; it can still be sold back`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`COUNTRY_NOT_SUPPORTED`})}),_jsx(_components.td,{children:`We don’t ship to that country`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OVER_CUSTOMS_CAP`})}),_jsx(_components.td,{children:`The cards are worth more than we can ship internationally`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_BLOCKED`})}),_jsxs(_components.td,{children:[`This customer may not ship cards (`,_jsx(_components.code,{children:`capability`}),` says which block applies)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_UNAVAILABLE`})}),_jsx(_components.td,{children:`This customer’s account is unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_NOT_FOUND`})}),_jsx(_components.td,{children:`No customer with that id has bought from your program`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_IN_VAULT`})}),_jsxs(_components.td,{children:[`Your program never pulled a card into this customer’s vault (another customer’s card, or a wrong id); `,_jsx(_components.code,{children:`card_ids`}),` lists them`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_SHIPPABLE`})}),_jsxs(_components.td,{children:[`A card your program pulled into this vault can’t ship right now (for example it was sold back: `,_jsx(_components.code,{children:`not_in_vault`}),`); `,_jsx(_components.code,{children:`cards`}),` lists each with its `,_jsx(_components.code,{children:`reason`}),` (`,_jsx(_components.code,{children:`not_in_vault`}),`, `,_jsx(_components.code,{children:`listed`}),`, `,_jsx(_components.code,{children:`shipping`}),`, `,_jsx(_components.code,{children:`on_hold`}),` or `,_jsx(_components.code,{children:`not_a_card`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RATE_LIMITED`})}),_jsxs(_components.td,{children:[`Too many estimates from this key; wait `,_jsx(_components.code,{children:`retry_after_seconds`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`The carrier didn’t answer; retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`We couldn’t check the customer or the cards just now; retry`})]})]})]})]})}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":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","description":"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.","href":"/partner-api/v2/endpoints/estimate-customer-shipment"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Scope: `,_jsx(_components.code,{children:`nft:orders`}),` · Rate limit: 30 a minute, shared with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-shipment`,children:`Estimate a shipment`}),` and `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-token-shipment`,children:`Estimate a one-token shipment`})]}),`\n`,_jsxs(_components.p,{children:[`For `,_jsx(_components.a,{href:`/partner-api/v2/settlement`,children:`Non-crypto model`}),` programs only; a Crypto Wallet program gets `,_jsx(_components.code,{children:`400 NOT_PARTNER_SETTLED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Live carrier rates to ship 1-10 of a customer’s vault cards to an address in one box. Charges nothing and stores nothing: the address only goes to the carrier for the quote. Pass a rate’s `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`token`}),` to `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-customer-shipment`,children:`Create a customer shipment`}),`, with `,_jsx(_components.code,{children:`max_cost`}),` set to that rate’s `,_jsx(_components.code,{children:`total`}),` if you sent `,_jsx(_components.code,{children:`cover_amount`}),`, else its `,_jsx(_components.code,{children:`amount`}),`.`]}),`\n`,_jsx(ParamField,{path:`customer`,type:`string`,required:true,id:`param-customer`,children:_jsx(_components.p,{children:`Your own id for the customer.`})}),`\n`,_jsx(ParamField,{body:`card_ids`,type:`string[]`,required:true,id:`param-card-ids`,children:_jsxs(_components.p,{children:[`1-10 distinct `,_jsx(_components.code,{children:`card.id`}),`s from the customer’s `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/get-customer-vault`,children:`vault`}),`, for one box.`]})}),`\n`,_jsx(ParamField,{body:`address`,type:`object`,required:true,id:`param-address`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`city`}),` and `,_jsx(_components.code,{children:`country`}),` (ISO 3166 alpha-2) are required; `,_jsx(_components.code,{children:`address2`}),` is optional; `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`zip`}),` where the country uses them; `,_jsx(_components.code,{children:`phone`}),` is required outside the US. `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`address1`}),`, `,_jsx(_components.code,{children:`address2`}),`, `,_jsx(_components.code,{children:`city`}),` and `,_jsx(_components.code,{children:`state`}),` take up to 100 characters, `,_jsx(_components.code,{children:`zip`}),` and `,_jsx(_components.code,{children:`phone`}),` up to 20. Control and invisible formatting characters are refused, and a US `,_jsx(_components.code,{children:`state`}),` must be a real state or territory (`,_jsx(_components.code,{children:`CA`}),`, or its name).`]})}),`\n`,_jsx(ParamField,{body:`cover_amount`,type:`number | null`,id:`param-cover-amount`,children:_jsxs(_components.p,{children:[`Shipping insurance cover in dollars, with at most two decimals, within the range the cards allow (the response’s `,_jsx(_components.code,{children:`max_cover`}),`; a `,_jsx(_components.code,{children:`400 COVER_NOT_ALLOWED`}),` gives the range). The sandbox’s one rate offers no cover.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`destination_country`,type:`string`,id:`param-destination-country`}),`\n`,_jsx(ResponseField,{name:`package_type`,type:`string`,id:`param-package-type`}),`\n`,_jsx(ResponseField,{name:`order_value`,type:`number`,id:`param-order-value`,children:`What the cards are worth for cover, in dollars.`}),`\n`,_jsx(ResponseField,{name:`max_cover`,type:`number | null`,id:`param-max-cover`,children:`The most they can be covered for; null when they can’t be insured.`}),`\n`,_jsxs(ResponseField,{name:`cover_amount`,type:`number`,id:`param-cover-amount-1`,children:[`The `,_jsx(_components.code,{children:`cover_amount`}),` you sent, when you sent one.`]}),`\n`,_jsx(ResponseField,{name:`rates`,type:`object[]`,id:`param-rates`,children:_jsxs(Expandable,{title:`rate`,children:[_jsx(ResponseField,{name:`carrier`,type:`string`,id:`param-carrier`}),_jsx(ResponseField,{name:`service`,type:`string`,id:`param-service`}),_jsxs(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:[`Pass `,_jsx(_components.code,{children:`carrier`}),` and `,_jsx(_components.code,{children:`token`}),` as `,_jsx(_components.code,{children:`rate`}),` to Create a customer shipment.`]}),_jsxs(ResponseField,{name:`amount`,type:`number`,id:`param-amount`,children:[`The postage. Pass it as `,_jsx(_components.code,{children:`max_cost`}),` when you sent no `,_jsx(_components.code,{children:`cover_amount`}),`.`]}),_jsx(ResponseField,{name:`estimated_days`,type:`integer | null`,id:`param-estimated-days`}),_jsxs(ResponseField,{name:`cover_available`,type:`boolean`,id:`param-cover-available`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: whether this service offers the cover.`]}),_jsxs(ResponseField,{name:`insurance_premium`,type:`number | null`,id:`param-insurance-premium`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: the cover’s premium on this rate.`]}),_jsxs(ResponseField,{name:`total`,type:`number | null`,id:`param-total`,children:[`Only with `,_jsx(_components.code,{children:`cover_amount`}),`: the postage plus the premium (null when the cover isn’t available). Pass it as `,_jsx(_components.code,{children:`max_cost`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_PARTNER_SETTLED`})}),_jsxs(_components.td,{children:[`Your program pays through customer wallets; use `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/estimate-shipment`,children:`Estimate a shipment`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_JSON`})}),_jsx(_components.td,{children:`The body isn’t JSON`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WALLET_FIELDS_NOT_ACCEPTED`})}),_jsxs(_components.td,{children:[`A Crypto Wallet field (`,_jsx(_components.code,{children:`recipient`}),`, `,_jsx(_components.code,{children:`refund_address`}),`, `,_jsx(_components.code,{children:`partner_user_ref`}),`, `,_jsx(_components.code,{children:`holder`}),`, `,_jsx(_components.code,{children:`payout_chain`}),` or `,_jsx(_components.code,{children:`payout_address`}),`) was sent; `,_jsx(_components.code,{children:`fields`}),` lists them`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CUSTOMER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`customer`}),` isn’t 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, or is only dots`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CARD_IDS`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`card_ids`}),` isn’t a list of 1-10 distinct card ids from the vault`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_ADDRESS`})}),_jsxs(_components.td,{children:[`The address is invalid; `,_jsx(_components.code,{children:`fields`}),` maps each bad field to a message`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_COVER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`cover_amount`}),` isn’t a positive dollar amount with at most two decimals`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`COVER_NOT_ALLOWED`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`cover_amount`}),` is outside what the cards can be insured for; the body has `,_jsx(_components.code,{children:`order_value`}),`, `,_jsx(_components.code,{children:`min_cover`}),` and `,_jsx(_components.code,{children:`max_cover`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PARTNER_GOODS`})}),_jsx(_components.td,{children:`An item is held by its brand partner and can’t ship through CatchBack; it can still be sold back`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`COUNTRY_NOT_SUPPORTED`})}),_jsx(_components.td,{children:`We don’t ship to that country`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OVER_CUSTOMS_CAP`})}),_jsx(_components.td,{children:`The cards are worth more than we can ship internationally`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_BLOCKED`})}),_jsxs(_components.td,{children:[`This customer may not ship cards (`,_jsx(_components.code,{children:`capability`}),` says which block applies)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_UNAVAILABLE`})}),_jsx(_components.td,{children:`This customer’s account is unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CUSTOMER_NOT_FOUND`})}),_jsx(_components.td,{children:`No customer with that id has bought from your program`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_IN_VAULT`})}),_jsxs(_components.td,{children:[`Your program never pulled a card into this customer’s vault (another customer’s card, or a wrong id); `,_jsx(_components.code,{children:`card_ids`}),` lists them`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARDS_NOT_SHIPPABLE`})}),_jsxs(_components.td,{children:[`A card your program pulled into this vault can’t ship right now (for example it was sold back: `,_jsx(_components.code,{children:`not_in_vault`}),`); `,_jsx(_components.code,{children:`cards`}),` lists each with its `,_jsx(_components.code,{children:`reason`}),` (`,_jsx(_components.code,{children:`not_in_vault`}),`, `,_jsx(_components.code,{children:`listed`}),`, `,_jsx(_components.code,{children:`shipping`}),`, `,_jsx(_components.code,{children:`on_hold`}),` or `,_jsx(_components.code,{children:`not_a_card`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RATE_LIMITED`})}),_jsxs(_components.td,{children:[`Too many estimates from this key; wait `,_jsx(_components.code,{children:`retry_after_seconds`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`The carrier didn’t answer; retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`We couldn’t check the customer or the cards just now; retry`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/shipments/estimate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CATCHBACK_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"card_ids\": [\"838a5e7f-dc62-4618-ad4a-cf015de20536\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"address\": { \"name\": \"Alice Tester\", \"address1\": \"1 Market St\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zip\": \"94105\", \"country\": \"US\", \"phone\": \"4155550100\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"destination_country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"package_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mailer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`31`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_cover\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USPS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"service\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ground Advantage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"r_9f3c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"estimated_days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200 with cover_amount`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"destination_country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"package_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mailer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_cover\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cover_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"carrier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USPS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"service\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Priority Mail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"r_1a7d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9.85`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"estimated_days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"cover_available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"insurance_premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14.05`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}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":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","description":"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.","href":"/partner-api/v2/endpoints/estimate-customer-shipment"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/shipments/estimate\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$CATCHBACK_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"card_ids\": [\"838a5e7f-dc62-4618-ad4a-cf015de20536\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"address\": { \"name\": \"Alice Tester\", \"address1\": \"1 Market St\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zip\": \"94105\", \"country\": \"US\", \"phone\": \"4155550100\" }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"destination_country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"US\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"package_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"mailer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"order_value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">31\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max_cover\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rates\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"carrier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USPS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"service\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ground Advantage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"r_9f3c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7.5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"estimated_days\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 with cover_amount","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"destination_country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"US\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"package_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"mailer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"order_value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">420\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max_cover\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">420\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cover_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rates\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"carrier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USPS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"service\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Priority Mail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"r_1a7d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">9.85\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"estimated_days\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"cover_available\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"insurance_premium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">4.2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">14.05\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Estimate a customer shipment","path":"/api/partner/v2/customers/{customer}/shipments/estimate","servers":[{"url":"https://catchbackcards.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"customer":{"schema":[{"type":"string","description":"Your own id for the customer.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"card_ids":[{"type":"array","items":[{"type":"string"}],"description":"1-10 distinct `card.id` s from the customer’s vault , for one box.","required":true}],"address":[{"type":"object","properties":{},"description":"`name` , `address1` , `city` and `country` (ISO 3166 alpha-2) are required; `address2` is optional; `state` and `zip` where the country uses them; `phone` is required outside the US. `name` , `address1` , `address2` , `city` and `state` take up to 100 characters, `zip` and `phone` up to 20. Control and invisible formatting characters are refused, and a US `state` must be a real state or territory ( `CA` , or its name).","required":true}],"cover_amount":[{"type":"object","properties":{},"description":"Shipping insurance cover in dollars, with at most two decimals, within the range the cards allow (the response’s `max_cover` ; a `400 COVER_NOT_ALLOWED` gives the range). The sandbox’s one rate offers no cover."}]}}],"examples":{"example":{"value":{"card_ids":["\u003cstring>"],"address":{},"cover_amount":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"destination_country":[{"type":"string"}],"package_type":[{"type":"string"}],"order_value":[{"type":"number","description":"What the cards are worth for cover, in dollars."}],"max_cover":[{"type":"object","properties":{},"description":"The most they can be covered for; null when they can’t be insured."}],"cover_amount":[{"type":"number","description":"The `cover_amount` you sent, when you sent one."}],"rates":[{"type":"array","items":[{"type":"object","properties":{"carrier":[{"type":"string"}],"service":[{"type":"string"}],"token":[{"type":"string","description":"Pass `carrier` and `token` as `rate` to Create a customer shipment."}],"amount":[{"type":"number","description":"The postage. Pass it as `max_cost` when you sent no `cover_amount` ."}],"estimated_days":[{"type":"object","properties":{}}],"cover_available":[{"type":"boolean","description":"Only with `cover_amount` : whether this service offers the cover."}],"insurance_premium":[{"type":"object","properties":{},"description":"Only with `cover_amount` : the cover’s premium on this rate."}],"total":[{"type":"object","properties":{},"description":"Only with `cover_amount` : the postage plus the premium (null when the cover isn’t available). Pass it as `max_cost` ."}]}}]}]}}],"examples":{"example":{"value":{"destination_country":"\u003cstring>","package_type":"\u003cstring>","order_value":123,"max_cover":{},"cover_amount":123,"rates":[{"carrier":"\u003cstring>","service":"\u003cstring>","token":"\u003cstring>","amount":123,"estimated_days":{},"cover_available":true,"insurance_premium":{},"total":{}}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"catchbackcards","siteName":"CatchBack Documentation","title":"Estimate a customer shipment - CatchBack Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T09:36:57.654Z","originalFileLocation":"partner-api/v2/endpoints/estimate-customer-shipment.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=\"dark\"}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=\"Non-crypto model: live carrier rates to ship 1-10 of a customer\u0026#x27;s vault cards in one box. Charges nothing and stores nothing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_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=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Estimate a customer shipment - CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Non-crypto model: live carrier rates to ship 1-10 of a customer\u0026#x27;s vault cards in one box. Charges nothing and stores nothing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Estimate+a+customer+shipment\u0026amp;description=Non-crypto+model%3A+live+carrier+rates+to+ship+1-10+of+a+customer%27s+vault+cards+in+one+box.+Charges+nothing+and+stores+nothing.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=5a739eaf6fab03931f30b814d6f4ba0866a8c47340673ab91e173a793d911df5\">\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=\"Estimate a customer shipment - CatchBack Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Non-crypto model: live carrier rates to ship 1-10 of a customer\u0026#x27;s vault cards in one box. Charges nothing and stores nothing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Estimate+a+customer+shipment\u0026amp;description=Non-crypto+model%3A+live+carrier+rates+to+ship+1-10+of+a+customer%27s+vault+cards+in+one+box.+Charges+nothing+and+stores+nothing.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=5a739eaf6fab03931f30b814d6f4ba0866a8c47340673ab91e173a793d911df5\">\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=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/partner-api/v2/endpoints/estimate-customer-shipment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://catchbackcards.mintlify.app/#organization\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://catchbackcards.mintlify.app#website\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment#webpage\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment\",\"name\":\"Estimate a customer shipment\",\"description\":\"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.\",\"dateModified\":\"2026-11-24T09:36:57.654Z\",\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Non-crypto model endpoints\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-vault\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Estimate a customer shipment\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment#apireference\",\"headline\":\"Estimate a customer shipment\",\"name\":\"Estimate a customer shipment\",\"description\":\"Non-crypto model: live carrier rates to ship 1-10 of a customer's vault cards in one box. Charges nothing and stores nothing.\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment\",\"mainEntityOfPage\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/estimate-customer-shipment#webpage\"},\"dateModified\":\"2026-11-24T09:36:57.654Z\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CatchBack Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CatchBack Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/partner-api/v2/endpoints/estimate-customer-shipment.md","siteName":"CatchBack Documentation","nav":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/about-catchback/overview"}]},{"tab":"Partner API","groups":[{"group":"Get started","pages":[{"title":"Partner API v2","sidebarTitle":"Overview","href":"/partner-api/v2/overview"},{"title":"Integration models","href":"/partner-api/v2/integration-models"},{"title":"MCP server","href":"/partner-api/v2/mcp"},{"title":"Sandbox","href":"/partner-api/v2/quickstart"},{"title":"Authentication and keys","href":"/partner-api/v2/authentication"}]},{"group":"Concepts","pages":[{"title":"Orders and statuses","href":"/partner-api/v2/orders"},{"title":"Verify a pull","href":"/partner-api/v2/verify-a-pull"},{"title":"Odds","href":"/partner-api/v2/odds"},{"title":"Webhooks","href":"/partner-api/v2/webhooks"},{"title":"Idempotency","href":"/partner-api/v2/idempotency"},{"title":"Errors","href":"/partner-api/v2/errors"},{"title":"Limits and compliance","href":"/partner-api/v2/limits-and-compliance"}]},{"group":"Crypto Wallet model","pages":[{"title":"Payments","href":"/partner-api/v2/payments"},{"title":"Sell-back","href":"/partner-api/v2/sell-back"},{"title":"Shipping","href":"/partner-api/v2/shipping"},{"title":"Chains, tokens and metadata","href":"/partner-api/v2/chains-and-metadata"}]},{"group":"Non-crypto model","pages":[{"title":"Non-crypto model","href":"/partner-api/v2/settlement"}]},{"group":"Packs \u0026 orders","pages":[{"title":"List packs","api":"GET /api/partner/v2/catalog/packs","href":"/partner-api/v2/endpoints/list-packs"},{"title":"Get a pack's odds and pool","api":"GET /api/partner/v2/catalog/packs/pool","href":"/partner-api/v2/endpoints/get-pack-pool"},{"title":"Create an order","api":"POST /api/partner/v2/orders","href":"/partner-api/v2/endpoints/create-order"},{"title":"List orders","api":"GET /api/partner/v2/orders","href":"/partner-api/v2/endpoints/list-orders"},{"title":"Get an order","api":"GET /api/partner/v2/orders/{id}","href":"/partner-api/v2/endpoints/get-order"},{"title":"Verify an order's pull","api":"GET /api/partner/v2/orders/{id}/verification","href":"/partner-api/v2/endpoints/get-order-verification"}]},{"group":"Tokens \u0026 sell-back","pages":[{"title":"List a wallet's tokens","api":"GET /api/partner/v2/wallets/{address}/tokens","href":"/partner-api/v2/endpoints/list-wallet-tokens"},{"title":"Get a token","api":"GET /api/partner/v2/tokens/{tokenId}","href":"/partner-api/v2/endpoints/get-token"},{"title":"Quote a sell-back","api":"POST /api/partner/v2/tokens/{tokenId}/quote","href":"/partner-api/v2/endpoints/create-sellback-quote"},{"title":"Burn without gas","api":"POST /api/partner/v2/tokens/{tokenId}/burn","href":"/partner-api/v2/endpoints/relay-burn"},{"title":"List sell-back quotes","sidebarTitle":"List quotes","api":"GET /api/partner/v2/quotes","href":"/partner-api/v2/endpoints/list-quotes"},{"title":"Get a quote","api":"GET /api/partner/v2/quotes/{quoteId}","href":"/partner-api/v2/endpoints/get-quote"},{"title":"Token metadata","api":"GET /api/partner-nfts/metadata/{chainId}/{tokenId}","href":"/partner-api/v2/endpoints/get-token-metadata"}]},{"group":"Shipments","pages":[{"title":"Estimate a shipment","api":"POST /api/partner/v2/shipments/estimate","href":"/partner-api/v2/endpoints/estimate-shipment"},{"title":"Create a shipment","api":"POST /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/create-shipment"},{"title":"Estimate a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment/estimate","href":"/partner-api/v2/endpoints/estimate-token-shipment"},{"title":"Create a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment","href":"/partner-api/v2/endpoints/create-token-shipment"},{"title":"List shipments","api":"GET /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/list-shipments"},{"title":"Get a shipment","api":"GET /api/partner/v2/shipments/{id}","href":"/partner-api/v2/endpoints/get-shipment"},{"title":"Renew a shipment","api":"POST /api/partner/v2/shipments/{id}/renew","href":"/partner-api/v2/endpoints/renew-shipment"}]},{"group":"Webhook endpoints","pages":[{"title":"Register a webhook","api":"POST /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/register-webhook"},{"title":"Get your webhook","api":"GET /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/list-webhooks"},{"title":"Delete a webhook","api":"DELETE /api/partner/v2/webhooks/{id}","href":"/partner-api/v2/endpoints/delete-webhook"},{"title":"Test a webhook","api":"POST /api/partner/v2/webhooks/{id}/test","href":"/partner-api/v2/endpoints/test-webhook"}]},{"group":"Keys \u0026 revenue","pages":[{"title":"Get your key","api":"GET /api/partner/v2/keys","href":"/partner-api/v2/endpoints/get-key"},{"title":"Rotate your key","api":"POST /api/partner/v2/keys/rotate","href":"/partner-api/v2/endpoints/rotate-key"},{"title":"Revoke the previous key","api":"POST /api/partner/v2/keys/revoke-previous","href":"/partner-api/v2/endpoints/revoke-previous-key"},{"title":"Get your revenue statement","api":"GET /api/partner/v2/revenue","href":"/partner-api/v2/endpoints/get-revenue"}]},{"group":"Non-crypto model endpoints","pages":[{"title":"Get a customer's vault","api":"GET /api/partner/v2/customers/{customer}/vault","href":"/partner-api/v2/endpoints/get-customer-vault"},{"title":"Sell back a customer's card","api":"POST /api/partner/v2/customers/{customer}/cards/{card_id}/sellback","description":"Non-crypto model: sell one vault card back at its current offer, credited to your statement.","href":"/partner-api/v2/endpoints/sell-back-customer-card"},{"title":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","href":"/partner-api/v2/endpoints/estimate-customer-shipment"},{"title":"Create a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments","description":"Non-crypto model: ship 1-10 of a customer's vault cards in one box, with the postage on your statement.","href":"/partner-api/v2/endpoints/create-customer-shipment"},{"title":"List a customer's shipments","api":"GET /api/partner/v2/customers/{customer}/shipments","href":"/partner-api/v2/endpoints/list-customer-shipments"},{"title":"Get your statement","api":"GET /api/partner/v2/settlement","href":"/partner-api/v2/endpoints/get-settlement"}]},{"group":"Sandbox","pages":[{"title":"Simulate a payment","api":"POST /api/partner/v2/sandbox/payments/{intentId}","href":"/partner-api/v2/endpoints/sandbox-pay"},{"title":"Run the background work","api":"POST /api/partner/v2/sandbox/tick","href":"/partner-api/v2/endpoints/sandbox-tick"},{"title":"Mark a shipment shipped or delivered","sidebarTitle":"Simulate shipping","api":"POST /api/partner/v2/sandbox/shipments/{id}","href":"/partner-api/v2/endpoints/sandbox-ship"}]},{"group":"Going live","pages":[{"title":"Go-live checklist","href":"/partner-api/v2/go-live-checklist"},{"title":"Changelog","href":"/partner-api/v2/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/packs/list-packs"}]}]},"basePath":"","title":"Estimate a customer shipment - CatchBack Documentation","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js"]}