Batch counterpart to POST /marketplace-listings/{id}/purchase. The
request groups listings into bundles; each bundle attempts an atomic
purchase independently. The response’s allSucceeded is true only if
every bundle succeeded; otherwise inspect bundles[].succeeded,
purchasedListingIds, failedListingIds, and errorCode per bundle.
Listings within a single bundle MUST be from the same seller. The server
validates this and rejects with 409 bundle-mixed-sellers if violated.
Idempotent on Idempotency-Key. A replay returns the cached envelope.
Scoped partner API key. Send the whole key, e.g. ik_live_a1b2c3…, on every request.
Headers
X-Pharmacy-Id
string<uuid>
Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then 400 missing-pharmacy-context. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.
Idempotency-Key
string
Makes this request safe to retry. A retry carrying the same key replays the original response rather than acting twice, and is marked X-Idempotent-Replay: true. The same key with a different body is 409. Records are kept for 24 hours.
Required string length: 1 - 255
Body
application/json
Body for POST /marketplace-listings/checkout. The buyer groups listings
into bundles up front (one bundle per shipment from one seller). Each
bundle is processed independently — partial success is possible.
paymentMethod
object
required
Tagged reference to a stored payment method. Today only type = Dwolla
is accepted on purchase calls. Forward-compatible: if a new rail is
added in a future minor revision, partners that hardcode Dwolla will
keep working; partners that surface the rail to their users can add it
without an SDK upgrade.
Show child attributes
bundles
object[]
required
Required array length: 1 - 50 elements
Show child attributes
buyersMessage
string
Maximum string length: 500
referralCode
string
Maximum string length: 64
Response
Always 200 on a syntactically valid request — even if every bundle
failed. The envelope's allSucceeded field tells the caller whether
any bundle landed.
allSucceeded
boolean
required
bundles
object[]
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"InStockRx API","description":"Partner API for the InStockRx pharmacy marketplace.","colors":{"primary":"#EA6318","light":"#F58A4B","dark":"#B54B12"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg","href":"https://www.instockrx.com"},"favicon":"/favicon.svg","api":{"playground":{"display":"interactive"},"examples":{"languages":["bash","javascript","python"]}},"navbar":{"links":[{"href":"mailto:info@instockrx.com","label":"Support"}],"primary":{"type":"button","label":"Get sandbox access","href":"https://sandbox.instockrx.com"}},"footer":{"socials":{"website":"https://www.instockrx.com"}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4342"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[]}
{"page":{"pagePath":"v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch","slug":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch","pageMetadata":{"openapi":"/spec/v2.json post /marketplace-listings/checkout","description":"**Scope:** `listings:write`.\n\nBatch counterpart to `POST /marketplace-listings/{id}/purchase`. The\nrequest groups listings into bundles; each bundle attempts an atomic\npurchase independently. The response's `allSucceeded` is `true` only if\nevery bundle succeeded; otherwise inspect `bundles[].succeeded`,\n`purchasedListingIds`, `failedListingIds`, and `errorCode` per bundle.\n\nListings within a single bundle MUST be from the same seller. The server\nvalidates this and rejects with `409 bundle-mixed-sellers` if violated.\n\nIdempotent on `Idempotency-Key`. A replay returns the cached envelope.\n","href":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch","title":"Buyer purchases multiple marketplace listings (partial-success batch)"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"listings:write\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Batch counterpart to \", _jsx(_components.code, {\n children: \"POST /marketplace-listings/{id}/purchase\"\n }), \". The\\nrequest groups listings into bundles; each bundle attempts an atomic\\npurchase independently. The response’s \", _jsx(_components.code, {\n children: \"allSucceeded\"\n }), \" is \", _jsx(_components.code, {\n children: \"true\"\n }), \" only if\\nevery bundle succeeded; otherwise inspect \", _jsx(_components.code, {\n children: \"bundles[].succeeded\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"purchasedListingIds\"\n }), \", \", _jsx(_components.code, {\n children: \"failedListingIds\"\n }), \", and \", _jsx(_components.code, {\n children: \"errorCode\"\n }), \" per bundle.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Listings within a single bundle MUST be from the same seller. The server\\nvalidates this and rejects with \", _jsx(_components.code, {\n children: \"409 bundle-mixed-sellers\"\n }), \" if violated.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Idempotent on \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \". A replay returns the cached envelope.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"/spec/v2.json post /marketplace-listings/checkout","description":"**Scope:** `listings:write`.\n\nBatch counterpart to `POST /marketplace-listings/{id}/purchase`. The\nrequest groups listings into bundles; each bundle attempts an atomic\npurchase independently. The response's `allSucceeded` is `true` only if\nevery bundle succeeded; otherwise inspect `bundles[].succeeded`,\n`purchasedListingIds`, `failedListingIds`, and `errorCode` per bundle.\n\nListings within a single bundle MUST be from the same seller. The server\nvalidates this and rejects with `409 bundle-mixed-sellers` if violated.\n\nIdempotent on `Idempotency-Key`. A replay returns the cached envelope.\n","href":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch","title":"Buyer purchases multiple marketplace listings (partial-success batch)"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Marketplace Listings"],"operationId":"checkoutMarketplaceListings","summary":"Buyer purchases multiple marketplace listings (partial-success batch)","description":"**Scope:** `listings:write`.\n\nBatch counterpart to `POST /marketplace-listings/{id}/purchase`. The\nrequest groups listings into bundles; each bundle attempts an atomic\npurchase independently. The response's `allSucceeded` is `true` only if\nevery bundle succeeded; otherwise inspect `bundles[].succeeded`,\n`purchasedListingIds`, `failedListingIds`, and `errorCode` per bundle.\n\nListings within a single bundle MUST be from the same seller. The server\nvalidates this and rejects with `409 bundle-mixed-sellers` if violated.\n\nIdempotent on `Idempotency-Key`. A replay returns the cached envelope.\n","security":["9508c15e-5b65-4bc1-9857-92f1037899a0"],"parameters":["dc247002-e905-43c4-a59a-d2fc36b88f4c","9dba072c-859a-415e-868c-8c04542060db","f66d1d73-205d-42f5-9820-51c7e8397cdd"],"requestBody":"32413826-cdee-43c4-85c9-b72a0fb414e8","responses":{"200":"5a548e90-c295-4697-aa21-b331ca3e9128","400":"50b3f4b8-cb89-4344-abea-2878d5fa1fdf","422":"07851938-e77b-4c29-ad60-02400b2dcb45"},"method":"post","type":"path","servers":["3c745605-736a-4471-bbcd-908508c3013a","3efbdca7-d8e5-4edb-9fb3-d74a49562593"],"path":"/marketplace-listings/checkout","baseUrlOptions":["https://sandbox-api.instockrx.com","https://api.instockrx.com"],"title":"Buyer purchases multiple marketplace listings (partial-success batch)","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"dc247002-e905-43c4-a59a-d2fc36b88f4c":{"in":"header","name":"X-Pharmacy-Id","required":false,"description":"Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then `400 missing-pharmacy-context`. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.","schema":{"type":"string","format":"uuid","isRequired":false,"description":"Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then `400 missing-pharmacy-context`. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"9dba072c-859a-415e-868c-8c04542060db":{"in":"header","name":"Idempotency-Key","required":false,"description":"Makes this request safe to retry. A retry carrying the same key replays the original response rather than acting twice, and is marked `X-Idempotent-Replay: true`. The same key with a different body is `409`. Records are kept for 24 hours.","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Makes this request safe to retry. A retry carrying the same key replays the original response rather than acting twice, and is marked `X-Idempotent-Replay: true`. The same key with a different body is `409`. Records are kept for 24 hours.","uniqueKey":"","typeLabel":"string"}},"f66d1d73-205d-42f5-9820-51c7e8397cdd":{"in":"header","name":"Idempotency-Key","required":false,"description":"Makes this request safe to retry. A retry carrying the same key replays the original response rather than acting twice, and is marked `X-Idempotent-Replay: true`. The same key with a different body is `409`. Records are kept for 24 hours.","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Makes this request safe to retry. A retry carrying the same key replays the original response rather than acting twice, and is marked `X-Idempotent-Replay: true`. The same key with a different body is `409`. Records are kept for 24 hours.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Body for `POST /marketplace-listings/checkout`. The buyer groups listings\ninto bundles up front (one bundle per shipment from one seller). Each\nbundle is processed independently — partial success is possible.\n","required":["paymentMethod","bundles"],"properties":{"paymentMethod":{"type":"object","description":"Tagged reference to a stored payment method. Today only `type = Dwolla`\nis accepted on purchase calls. Forward-compatible: if a new rail is\nadded in a future minor revision, partners that hardcode `Dwolla` will\nkeep working; partners that surface the rail to their users can add it\nwithout an SDK upgrade.\n","required":["type","id"],"properties":{"type":{"type":"string","description":"Discriminator for `PaymentMethod`. V2 surfaces `Dwolla` today; `Orum`\nand `Stripe` are reserved for future minor revisions (non-breaking\nadditions to this enum).\n","enum":["Dwolla"],"isRequired":true,"uniqueKey":"paymentMethod.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","description":"ID from `GET /payment-methods`.","isRequired":true,"uniqueKey":"paymentMethod.id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"paymentMethod","typeLabel":"object"},"bundles":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","required":["listingId"],"properties":{"listingId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"bundles.items.[INDEX].\\items.items.[INDEX].listingId","typeLabel":"string\u003cuuid>"},"ifMatch":{"type":"string","description":"Per-item ETag for the snapshot guard. Equivalent to `If-Match` on\nthe single-listing purchase. Mismatch on any item fails the whole\nbundle with `errorCode = \"stale-resource\"`.\n","uniqueKey":"bundles.items.[INDEX].\\items.items.[INDEX].ifMatch","typeLabel":"string"}},"uniqueKey":"bundles.items.[INDEX].\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundles.items.[INDEX].\\items","typeLabel":"object[]"},"existingBundleId":{"type":"string","format":"uuid","description":"Join an existing `Pending` bundle. All `items` must be from the same seller as that bundle.","uniqueKey":"bundles.items.[INDEX].existingBundleId","typeLabel":"string\u003cuuid>"},"shippingSelection":{"oneOf":[{"type":"object","title":"EasyPost-managed","description":"Exactly one shape must be supplied. EasyPost-managed uses a `rateId`\nfrom a prior `shipping-rates` call; manual lets the buyer supply their\nown carrier and tracking number.\n","required":["rateId","carrier"],"properties":{"rateId":{"type":"string","description":"From `POST /marketplace-listings/{id}/shipping-rates`.","isRequired":true,"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.0.rateId","typeLabel":"string"},"carrier":{"type":"string","examples":["UPS","FedEx","USPS"],"isRequired":true,"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.0.carrier","typeLabel":"string"}},"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.0","typeLabel":"EasyPost-managed · object"},{"type":"object","title":"Buyer-supplied tracking (manual)","description":"Exactly one shape must be supplied. EasyPost-managed uses a `rateId`\nfrom a prior `shipping-rates` call; manual lets the buyer supply their\nown carrier and tracking number.\n","required":["carrier","trackingCode"],"properties":{"carrier":{"type":"string","isRequired":true,"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.1.carrier","typeLabel":"string"},"trackingCode":{"type":"string","minLength":4,"maxLength":64,"isRequired":true,"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.1.trackingCode","typeLabel":"string"},"shippingLabelUrl":{"type":"string","format":"uri","uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.1.shippingLabelUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"bundles.items.[INDEX].shippingSelection.oneOf.1","typeLabel":"Buyer-supplied tracking (manual) · object"}],"uniqueKey":"bundles.items.[INDEX].shippingSelection","typeLabel":"EasyPost-managed · object | Buyer-supplied tracking (manual) · object"},"shipByDate":{"type":"string","format":"date","uniqueKey":"bundles.items.[INDEX].shipByDate","typeLabel":"string\u003cdate>"}},"uniqueKey":"bundles.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundles","typeLabel":"object[]"},"buyersMessage":{"type":"string","maxLength":500,"uniqueKey":"buyersMessage","typeLabel":"string"},"referralCode":{"type":"string","maxLength":64,"uniqueKey":"referralCode","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"paymentMethod":{"type":"Dwolla","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"bundles":[{"items":[{"listingId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","ifMatch":"\u003cstring>"}],"existingBundleId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","shippingSelection":{"rateId":"\u003cstring>","carrier":"UPS"},"shipByDate":"2023-12-25"}],"buyersMessage":"\u003cstring>","referralCode":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5a548e90-c295-4697-aa21-b331ca3e9128":{"description":"Always 200 on a syntactically valid request — even if every bundle\nfailed. The envelope's `allSucceeded` field tells the caller whether\nany bundle landed.\n","content":{"application/json":{"schema":{"type":"object","required":["allSucceeded","bundles"],"properties":{"allSucceeded":{"type":"boolean","isRequired":true,"uniqueKey":"allSucceeded","typeLabel":"boolean"},"bundles":{"type":"array","items":{"type":"object","required":["bundleIndex","succeeded","isColdChain"],"properties":{"bundleIndex":{"type":"integer","minimum":0,"description":"Matches the position in the request's `bundles[]`.","isRequired":true,"uniqueKey":"bundles.items.[INDEX].bundleIndex","typeLabel":"integer"},"isColdChain":{"type":"boolean","isRequired":true,"uniqueKey":"bundles.items.[INDEX].isColdChain","typeLabel":"boolean"},"succeeded":{"type":"boolean","isRequired":true,"uniqueKey":"bundles.items.[INDEX].succeeded","typeLabel":"boolean"},"bundleId":{"type":"string","format":"uuid","description":"Populated on success.","uniqueKey":"bundles.items.[INDEX].bundleId","typeLabel":"string\u003cuuid>"},"purchasedListingIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"bundles.items.[INDEX].purchasedListingIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"bundles.items.[INDEX].purchasedListingIds","typeLabel":"string\u003cuuid>[]"},"failedListingIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"bundles.items.[INDEX].failedListingIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"bundles.items.[INDEX].failedListingIds","typeLabel":"string\u003cuuid>[]"},"errorCode":{"type":"string","description":"When `succeeded=false`. Mirrors single-purchase problem types (e.g. `bundle-full-cold-chain`, `stale-resource`, `payment-method-not-verified`).","uniqueKey":"bundles.items.[INDEX].errorCode","typeLabel":"string"},"errorMessage":{"type":"string","uniqueKey":"bundles.items.[INDEX].errorMessage","typeLabel":"string"}},"uniqueKey":"bundles.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundles","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"allSucceeded":true,"bundles":[{"bundleIndex":1,"isColdChain":true,"succeeded":true,"bundleId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","purchasedListingIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"failedListingIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"50b3f4b8-cb89-4344-abea-2878d5fa1fdf":{"description":"Validation or malformed request.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","examples":["https://api.instockrx.com/problems/listing-not-available"],"isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":100,"maximum":599,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","uniqueKey":"instance","typeLabel":"string"},"requestId":{"type":"string","uniqueKey":"requestId","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","required":["field","code","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"https://api.instockrx.com/problems/listing-not-available","title":"\u003cstring>","status":349,"detail":"\u003cstring>","instance":"\u003cstring>","requestId":"\u003cstring>","errors":[{"field":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"07851938-e77b-4c29-ad60-02400b2dcb45":{"description":"Semantically inconsistent request.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","examples":["https://api.instockrx.com/problems/listing-not-available"],"isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":100,"maximum":599,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","uniqueKey":"instance","typeLabel":"string"},"requestId":{"type":"string","uniqueKey":"requestId","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","required":["field","code","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"https://api.instockrx.com/problems/listing-not-available","title":"\u003cstring>","status":349,"detail":"\u003cstring>","instance":"\u003cstring>","requestId":"\u003cstring>","errors":[{"field":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9508c15e-5b65-4bc1-9857-92f1037899a0":{"ApiKey":{"type":"apiKey","name":"X-InStockRx-Api-Key","in":"header","description":"Scoped partner API key. Send the whole key, e.g. `ik_live_a1b2c3…`, on every request.","scopes":[],"schemeName":"ApiKey"}}},"servers":{"3c745605-736a-4471-bbcd-908508c3013a":{"url":"https://sandbox-api.instockrx.com","description":"Sandbox"},"3efbdca7-d8e5-4edb-9fb3-d74a49562593":{"url":"https://api.instockrx.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-InStockRx-Api-Key","in":"header","description":"Scoped partner API key. Send the whole key, e.g. `ik_live_a1b2c3…`, on every request.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-InStockRx-Api-Key","type":"string","description":"Scoped partner API key. Send the whole key, e.g. `ik_live_a1b2c3…`, on every request.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-InStockRx-Api-Key"}],"title":"ApiKey"}]},"originalFileLocation":"spec/v2.json"},"subdomain":"localhost","siteName":"InStockRx API","title":"Buyer purchases multiple marketplace listings (partial-success batch) - InStockRx API","navMaps":{"firstHrefInVersion":{"v2":{"href":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch","matchLevel":0},"v1":{"href":"/api-reference/cash-offers/creates-a-new-cash-offer","matchLevel":2}},"firstHrefInLanguage":{}},"originalFileLocation":"v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch.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=\"Scope: listings:write. Batch counterpart to POST /marketplace-listings/{id}/purchase. The request groups listings into bundles; each bundle attempts an atomic purchase independently. The response\u0026#x27;s allSucceeded is true only if every bundle succeeded; otherwise inspect bundles[].succeeded, purchasedListingIds, failedListingIds, and errorCode per bundle. Listings within a single bundle MUST be from the same seller. The server validates this and rejects with 409 bundle-mixed-sellers if violated. Idempotent on Idempotency-Key. A replay returns the cached envelope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"InStockRx API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Buyer purchases multiple marketplace listings (partial-success batch) - InStockRx API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Scope: listings:write. Batch counterpart to POST /marketplace-listings/{id}/purchase. The request groups listings into bundles; each bundle attempts an atomic purchase independently. The response\u0026#x27;s allSucceeded is true only if every bundle succeeded; otherwise inspect bundles[].succeeded, purchasedListingIds, failedListingIds, and errorCode per bundle. Listings within a single bundle MUST be from the same seller. The server validates this and rejects with 409 bundle-mixed-sellers if violated. Idempotent on Idempotency-Key. A replay returns the cached envelope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"InStockRx API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Buyer purchases multiple marketplace listings (partial-success batch) - InStockRx API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Scope: listings:write. Batch counterpart to POST /marketplace-listings/{id}/purchase. The request groups listings into bundles; each bundle attempts an atomic purchase independently. The response\u0026#x27;s allSucceeded is true only if every bundle succeeded; otherwise inspect bundles[].succeeded, purchasedListingIds, failedListingIds, and errorCode per bundle. Listings within a single bundle MUST be from the same seller. The server validates this and rejects with 409 bundle-mixed-sellers if violated. Idempotent on Idempotency-Key. A replay returns the cached envelope.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"InStockRx API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA6318\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"InStockRx API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"InStockRx API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch.md","siteName":"InStockRx API","nav":{"versions":[{"version":"v2","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/v2/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/v2/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Cash Offers","pages":[{"title":"Create a cash offer","openapi":"/spec/v2.json post /cash-offers","href":"/v2/api-reference/cash-offers/create-a-cash-offer"},{"title":"Get a cash offer","openapi":"/spec/v2.json get /cash-offers/{id}","href":"/v2/api-reference/cash-offers/get-a-cash-offer"},{"title":"Update a cash offer","openapi":"/spec/v2.json put /cash-offers/{id}","href":"/v2/api-reference/cash-offers/update-a-cash-offer"},{"title":"Accept a cash offer (seller)","openapi":"/spec/v2.json post /cash-offers/{id}/accept","href":"/v2/api-reference/cash-offers/accept-a-cash-offer-seller"},{"title":"Decline a cash offer (seller)","openapi":"/spec/v2.json post /cash-offers/{id}/decline","href":"/v2/api-reference/cash-offers/decline-a-cash-offer-seller"},{"title":"Cancel a cash offer (buyer)","openapi":"/spec/v2.json post /cash-offers/{id}/cancel","href":"/v2/api-reference/cash-offers/cancel-a-cash-offer-buyer"},{"title":"Search cash offers","openapi":"/spec/v2.json post /cash-offers/search","href":"/v2/api-reference/cash-offers/search-cash-offers"}]},{"group":"Marketplace Listings","pages":[{"title":"Create a marketplace listing","openapi":"/spec/v2.json post /marketplace-listings","href":"/v2/api-reference/marketplace-listings/create-a-marketplace-listing"},{"title":"Get a marketplace listing","openapi":"/spec/v2.json get /marketplace-listings/{id}","href":"/v2/api-reference/marketplace-listings/get-a-marketplace-listing"},{"title":"Update a marketplace listing","openapi":"/spec/v2.json put /marketplace-listings/{id}","href":"/v2/api-reference/marketplace-listings/update-a-marketplace-listing"},{"title":"Delete a marketplace listing","openapi":"/spec/v2.json delete /marketplace-listings/{id}","href":"/v2/api-reference/marketplace-listings/delete-a-marketplace-listing"},{"title":"Cancel a marketplace listing","openapi":"/spec/v2.json post /marketplace-listings/{id}/cancel","href":"/v2/api-reference/marketplace-listings/cancel-a-marketplace-listing"},{"title":"Search marketplace listings","openapi":"/spec/v2.json post /marketplace-listings/search","href":"/v2/api-reference/marketplace-listings/search-marketplace-listings"},{"title":"Quote shipping rates for a marketplace listing","openapi":"/spec/v2.json post /marketplace-listings/{id}/shipping-rates","href":"/v2/api-reference/marketplace-listings/quote-shipping-rates-for-a-marketplace-listing"},{"title":"Buyer purchases a single marketplace listing","description":"**Scope:** `listings:write`.\n\nTransitions the listing from `Pending` to `Purchased`. Side effects:\n- Initiates a buyer→internal funds transfer on the chosen payment method.\n- Creates a new bundle, or joins an existing `Pending` bundle (same seller/buyer) if `bundleId` is supplied.\n- Purchases an EasyPost label if `rateId` is supplied; otherwise records the manual `carrier` / `trackingCode` / `shippingLabelUrl`.\n\nUse `If-Match` (ETag from `GET /marketplace-listings/{id}`) to guard\nagainst a race where the listing changed between when the buyer saw it\nand the purchase call. Mismatch returns `412 Precondition Failed`\n(`problem.type = \"stale-resource\"`).\n\nCold-chain rules: max 6 cold-chain items per bundle; adding a 7th forces\na new bundle. Cold-chain shipments cannot ship Fri–Sun (enforced when\nthe seller calls `/ship`).\n","openapi":"/spec/v2.json post /marketplace-listings/{id}/purchase","href":"/v2/api-reference/marketplace-listings/buyer-purchases-a-single-marketplace-listing"},{"title":"Buyer purchases multiple marketplace listings (partial-success batch)","openapi":"/spec/v2.json post /marketplace-listings/checkout","href":"/v2/api-reference/marketplace-listings/buyer-purchases-multiple-marketplace-listings-partial-success-batch"},{"title":"Seller confirms shipment of a purchased listing","description":"**Scope:** `listings:write`.\n\nTransitions the listing from `Purchased` to `ShippingConfirmed`. DSCSA\npedigree fields are required: `gtin`, `serialNumber`, `lotNumber`,\n`expirationDate`. If the bundle is cold-chain, the ship date must fall\non Mon–Thu (returns `409 cold-chain-ship-day` otherwise). The bundle\ntransitions to `Shipped` when its first listing ships.\n\nInStockRx caps how many of a seller's bundles may sit in `Shipped`\nstatus awaiting buyer receipt (an admin-configured limit). If shipping\nthis listing would carry the seller past that cap, the call is rejected\nwith `409 shipped-bundle-limit-exceeded`; the seller must wait for\nin-flight bundles to be received before shipping more. The cap is not\nevaluated for a listing whose bundle is already `Shipped` (adding items\nto an already-shipped bundle does not increase the count).\n","openapi":"/spec/v2.json post /marketplace-listings/{id}/ship","href":"/v2/api-reference/marketplace-listings/seller-confirms-shipment-of-a-purchased-listing"},{"title":"Buyer confirms receipt of a shipped listing","openapi":"/spec/v2.json post /marketplace-listings/{id}/confirm-receipt","href":"/v2/api-reference/marketplace-listings/buyer-confirms-receipt-of-a-shipped-listing"},{"title":"Buyer reports a shipped listing as not received / damaged in transit","openapi":"/spec/v2.json post /marketplace-listings/{id}/report-not-received","href":"/v2/api-reference/marketplace-listings/buyer-reports-a-shipped-listing-as-not-received-damaged-in-transit"}]},{"group":"Bundles","pages":[{"title":"List bundles (optionally filtered by status / counterparty)","openapi":"/spec/v2.json get /bundles","href":"/v2/api-reference/bundles/list-bundles-optionally-filtered-by-status-counterparty"},{"title":"Get a bundle","openapi":"/spec/v2.json get /bundles/{id}","href":"/v2/api-reference/bundles/get-a-bundle"},{"title":"Buyer confirms receipt of every item in a bundle","openapi":"/spec/v2.json post /bundles/{id}/confirm-receipt","href":"/v2/api-reference/bundles/buyer-confirms-receipt-of-every-item-in-a-bundle"}]},{"group":"Payment Methods","pages":[{"title":"List the buyer's stored payment methods","openapi":"/spec/v2.json get /payment-methods","href":"/v2/api-reference/payment-methods/list-the-buyers-stored-payment-methods"}]},{"group":"Draft Listings","pages":[{"title":"Create a draft marketplace listing","openapi":"/spec/v2.json post /draft-listings","href":"/v2/api-reference/draft-listings/create-a-draft-marketplace-listing"},{"title":"Get a draft listing","openapi":"/spec/v2.json get /draft-listings/{id}","href":"/v2/api-reference/draft-listings/get-a-draft-listing"},{"title":"Update a draft listing","openapi":"/spec/v2.json put /draft-listings/{id}","href":"/v2/api-reference/draft-listings/update-a-draft-listing"},{"title":"Delete a draft listing","openapi":"/spec/v2.json delete /draft-listings/{id}","href":"/v2/api-reference/draft-listings/delete-a-draft-listing"},{"title":"Search draft listings","openapi":"/spec/v2.json post /draft-listings/search","href":"/v2/api-reference/draft-listings/search-draft-listings"}]},{"group":"Returns","pages":[{"title":"Initiate a return (buyer)","openapi":"/spec/v2.json post /returns","href":"/v2/api-reference/returns/initiate-a-return-buyer"},{"title":"Get a return","openapi":"/spec/v2.json get /returns/{id}","href":"/v2/api-reference/returns/get-a-return"},{"title":"Buyer marks the return as shipped","openapi":"/spec/v2.json post /returns/{id}/buyer-ship","href":"/v2/api-reference/returns/buyer-marks-the-return-as-shipped"},{"title":"Seller confirms (or denies) receipt of the returned items","openapi":"/spec/v2.json post /returns/{id}/seller-confirm-receipt","href":"/v2/api-reference/returns/seller-confirms-or-denies-receipt-of-the-returned-items"},{"title":"Download a return-related document","openapi":"/spec/v2.json get /returns/{id}/documents/{documentType}","href":"/v2/api-reference/returns/download-a-return-related-document"},{"title":"Search returns","openapi":"/spec/v2.json post /returns/search","href":"/v2/api-reference/returns/search-returns"},{"title":"Record return shipping details","openapi":"/spec/v2.json post /returns/{id}/ship-details","href":"/v2/api-reference/returns/record-return-shipping-details"}]},{"group":"Notifications","pages":[{"title":"List notifications for the credential's user","openapi":"/spec/v2.json get /notifications","href":"/v2/api-reference/notifications/list-notifications-for-the-credentials-user"},{"title":"Mark read/unread/dismissed","openapi":"/spec/v2.json patch /notifications/{id}","href":"/v2/api-reference/notifications/mark-readunreaddismissed"},{"title":"Dismiss many notifications at once","openapi":"/spec/v2.json post /notifications/bulk-dismiss","href":"/v2/api-reference/notifications/dismiss-many-notifications-at-once"},{"title":"Get notification preferences for a pharmacy","openapi":"/spec/v2.json get /pharmacies/{pharmacyId}/notification-preferences","href":"/v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy"},{"title":"Update notification preferences","openapi":"/spec/v2.json put /pharmacies/{pharmacyId}/notification-preferences","href":"/v2/api-reference/notifications/update-notification-preferences"}]},{"group":"Evergreen Cash Offer Preferences","pages":[{"title":"Create an evergreen cash-offer preference","openapi":"/spec/v2.json post /evergreen-cash-offer-preferences","href":"/v2/api-reference/evergreen-cash-offer-preferences/create-an-evergreen-cash-offer-preference"},{"title":"Get an evergreen preference","openapi":"/spec/v2.json get /evergreen-cash-offer-preferences/{id}","href":"/v2/api-reference/evergreen-cash-offer-preferences/get-an-evergreen-preference"},{"title":"Update an evergreen preference","openapi":"/spec/v2.json put /evergreen-cash-offer-preferences/{id}","href":"/v2/api-reference/evergreen-cash-offer-preferences/update-an-evergreen-preference"},{"title":"Cancel pending cash offers spawned by this preference","openapi":"/spec/v2.json post /evergreen-cash-offer-preferences/{id}/cancel-pending","href":"/v2/api-reference/evergreen-cash-offer-preferences/cancel-pending-cash-offers-spawned-by-this-preference"},{"title":"Search evergreen preferences","openapi":"/spec/v2.json post /evergreen-cash-offer-preferences/search","href":"/v2/api-reference/evergreen-cash-offer-preferences/search-evergreen-preferences"}]},{"group":"Drug Packages","pages":[{"title":"Get drug-package metadata by NDC","openapi":"/spec/v2.json get /drug-packages/{nationalDrugCode}","href":"/v2/api-reference/drug-packages/get-drug-package-metadata-by-ndc"},{"title":"Search drug packages","openapi":"/spec/v2.json post /drug-packages/search","href":"/v2/api-reference/drug-packages/search-drug-packages"},{"title":"Drug-name autocomplete","openapi":"/spec/v2.json get /drug-packages/autocomplete","href":"/v2/api-reference/drug-packages/drug-name-autocomplete"}]},{"group":"Pharmacies","pages":[{"title":"Search pharmacies in the credential's group(s)","openapi":"/spec/v2.json get /pharmacies","href":"/v2/api-reference/pharmacies/search-pharmacies-in-the-credentials-groups"},{"title":"Pre-flight check for whether a pharmacy can purchase","openapi":"/spec/v2.json get /pharmacies/{pharmacyId}/purchase-readiness","href":"/v2/api-reference/pharmacies/pre-flight-check-for-whether-a-pharmacy-can-purchase"}]},{"group":"Utility","pages":[{"title":"Retrieve transaction statistics for an NDC","openapi":"/spec/v2.json get /ndc-transaction-statistics","href":"/v2/api-reference/utility/retrieve-transaction-statistics-for-an-ndc"},{"title":"Read the current NPI roster for the credential's group","openapi":"/spec/v2.json get /groups/npi-list","href":"/v2/api-reference/utility/read-the-current-npi-roster-for-the-credentials-group"},{"title":"Replace the NPI roster for the credential's group","openapi":"/spec/v2.json put /groups/npi-list","href":"/v2/api-reference/utility/replace-the-npi-roster-for-the-credentials-group"},{"title":"Read the signup link for the credential's group","openapi":"/spec/v2.json get /groups/signup-link","href":"/v2/api-reference/utility/read-the-signup-link-for-the-credentials-group"}]},{"group":"Webhook Endpoints","pages":[{"title":"List webhook endpoints","openapi":"/spec/v2.json get /webhook-endpoints","href":"/v2/api-reference/webhook-endpoints/list-webhook-endpoints"},{"title":"Subscribe to events","openapi":"/spec/v2.json post /webhook-endpoints","href":"/v2/api-reference/webhook-endpoints/subscribe-to-events"},{"title":"Get a webhook endpoint","openapi":"/spec/v2.json get /webhook-endpoints/{id}","href":"/v2/api-reference/webhook-endpoints/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","openapi":"/spec/v2.json put /webhook-endpoints/{id}","href":"/v2/api-reference/webhook-endpoints/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","openapi":"/spec/v2.json delete /webhook-endpoints/{id}","href":"/v2/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Rotate the signing secret","openapi":"/spec/v2.json post /webhook-endpoints/{id}/rotate-secret","href":"/v2/api-reference/webhook-endpoints/rotate-the-signing-secret"},{"title":"Replay events to this endpoint","openapi":"/spec/v2.json post /webhook-endpoints/{id}/replay","href":"/v2/api-reference/webhook-endpoints/replay-events-to-this-endpoint"}]},{"group":"Draft listings","pages":[{"title":"Finalize a draft listing","openapi":"/spec/v2.json post /draft-listings/{id}/finalize","href":"/v2/api-reference/draft-listings/finalize-a-draft-listing"}]},{"group":"Marketplace listings","pages":[{"title":"Attach photos to a listing","openapi":"/spec/v2.json post /marketplace-listings/{id}/photos","href":"/v2/api-reference/marketplace-listings/attach-photos-to-a-listing"},{"title":"Get the seller's contact details","openapi":"/spec/v2.json get /marketplace-listings/{id}/seller-contact","href":"/v2/api-reference/marketplace-listings/get-the-sellers-contact-details"}]},{"group":"API Reference","pages":[{"title":"A marketplace listing was created","openapi":"/spec/v2.json webhook marketplace_listing.created","href":"/v2/api-reference/a-marketplace-listing-was-created"},{"title":"A marketplace listing was updated price quantity status…","openapi":"/spec/v2.json webhook marketplace_listing.updated","href":"/v2/api-reference/a-marketplace-listing-was-updated-price-quantity-status…"},{"title":"A marketplace listing was purchased","openapi":"/spec/v2.json webhook marketplace_listing.purchased","href":"/v2/api-reference/a-marketplace-listing-was-purchased"},{"title":"A marketplace listing was cancelled","openapi":"/spec/v2.json webhook marketplace_listing.cancelled","href":"/v2/api-reference/a-marketplace-listing-was-cancelled"},{"title":"Seller confirmed shipment of a purchased listing","openapi":"/spec/v2.json webhook marketplace_listing.shipped","href":"/v2/api-reference/seller-confirmed-shipment-of-a-purchased-listing"},{"title":"Buyer confirmed receipt of a shipped listing","openapi":"/spec/v2.json webhook marketplace_listing.received","href":"/v2/api-reference/buyer-confirmed-receipt-of-a-shipped-listing"},{"title":"Buyer reported a shipped listing as not received damaged in transit","openapi":"/spec/v2.json webhook marketplace_listing.not_received","href":"/v2/api-reference/buyer-reported-a-shipped-listing-as-not-received-damaged-in-transit"},{"title":"A bundle was created on a buyer purchase","openapi":"/spec/v2.json webhook bundle.created","href":"/v2/api-reference/a-bundle-was-created-on-a-buyer-purchase"},{"title":"A bundle was shipped first items shipping was confirmed","openapi":"/spec/v2.json webhook bundle.shipped","href":"/v2/api-reference/a-bundle-was-shipped-first-items-shipping-was-confirmed"},{"title":"Every item in a bundle has been received","openapi":"/spec/v2.json webhook bundle.received","href":"/v2/api-reference/every-item-in-a-bundle-has-been-received"},{"title":"A cash offer was accepted by a seller","openapi":"/spec/v2.json webhook cash_offer.accepted","href":"/v2/api-reference/a-cash-offer-was-accepted-by-a-seller"},{"title":"A cash offer was declined","openapi":"/spec/v2.json webhook cash_offer.declined","href":"/v2/api-reference/a-cash-offer-was-declined"},{"title":"A cash offer was cancelled by the buyer","openapi":"/spec/v2.json webhook cash_offer.cancelled","href":"/v2/api-reference/a-cash-offer-was-cancelled-by-the-buyer"},{"title":"A return was initiated","openapi":"/spec/v2.json webhook return.requested","href":"/v2/api-reference/a-return-was-initiated"},{"title":"A return was shipped back to the seller","openapi":"/spec/v2.json webhook return.shipped","href":"/v2/api-reference/a-return-was-shipped-back-to-the-seller"},{"title":"A return completed seller confirmed receipt","openapi":"/spec/v2.json webhook return.completed","href":"/v2/api-reference/a-return-completed-seller-confirmed-receipt"}]}]}]}]},{"version":"v1","pages":[{"title":"v1","href":"/api-reference/cash-offers/creates-a-new-cash-offer"}]}]},"basePath":"","title":"Buyer purchases multiple marketplace listings (partial-success batch) - InStockRx API","buildId":"b8b92e8dc392","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Be5oznUz.js","snippetPresets-CfxpbzzD.js","utils-WbBega9h.js","style-to-object-BY3JEAdk.js","utils-kDtb4zyI.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DkWLdYrp.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BaiIuF4F.js","_Uint8Array-C3lkX7eq.js","isObject-FP1Yky1u.js","ApiExamples-Dmuj6HvB.js","usePlaygroundInputsStore-1rKiMY8d.js","shallow-B7__N5wH.js","isEqual-COF04FiJ.js","CodeSnippets-BsHoAxkP.js","CodeSnippet-D-mUaQGT.js","use-playground-group-access-BE_fLSpn.js","Page-BzZxJmpC.js","api-description-markdown-BZswaBs0.js","DynamicMarkdown-CHHGzH8g.js","SectionHeading-CTqU8fbJ.js","MethodPill-B2KftbhX.js","getPastedJson-xRRRYgC0.js","Check2Icon-C25sO8L1.js","axios-CsQoIw0U.js","Markdown-BAXIOcCc.js","AssistantPageLink-BskiyoKM.js","dist-BRf2-mCa.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}