Scoped partner API key. Send the whole key, e.g. ik_live_a1b2c3…, on every request.
Headers
X-InStockRx-User-Id
string<uuid>
required
The InStockRx user whose notifications or preferences you are acting on. Required: these are per-person settings, not per-pharmacy ones. Omitting it is 400 missing-user-context.
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.
Path Parameters
pharmacyId
string<uuid>
required
Response
200 - application/json
OK
pharmacyId
string<uuid>
channels
object
Show child attributes
events
object
Per-event toggles. Each key is a notification type — pharmacy_AsSeller_BuyerPurchasedMarketplaceListing, and so on — not a webhook event name; the two lists are different. PUT accepts the keys case-insensitively. Campaign preferences are managed elsewhere and are neither returned here nor settable: posting one changes nothing and it will not appear on the next GET.
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/notifications/get-notification-preferences-for-a-pharmacy","slug":"/v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy","pageMetadata":{"openapi":"/spec/v2.json get /pharmacies/{pharmacyId}/notification-preferences","description":"**Scope:** `notifications:read`.","href":"/v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy","title":"Get notification preferences for a pharmacy"},"description":{"compiledSource":"\"use strict\";\nconst {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(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"notifications:read\"\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 get /pharmacies/{pharmacyId}/notification-preferences","description":"**Scope:** `notifications:read`.","href":"/v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy","title":"Get notification preferences for a pharmacy"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Notifications"],"operationId":"getNotificationPreferences","summary":"Get notification preferences for a pharmacy","security":["156d5078-c41f-4d6f-8040-a08b964b3f75"],"responses":{"200":"95f8af40-7302-4522-a354-90f9e4724bbe"},"description":"**Scope:** `notifications:read`.","parameters":["fead0624-472e-4fba-816d-801f23dfaddf","b25aacb6-7cff-4404-9fe0-e1e6a1694004"],"method":"get","type":"path","servers":["3c745605-736a-4471-bbcd-908508c3013a","3efbdca7-d8e5-4edb-9fb3-d74a49562593"],"path":"/pharmacies/{pharmacyId}/notification-preferences","baseUrlOptions":["https://sandbox-api.instockrx.com","https://api.instockrx.com"],"title":"Get notification preferences for a pharmacy","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fead0624-472e-4fba-816d-801f23dfaddf":{"name":"X-InStockRx-User-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The InStockRx user whose notifications or preferences you are acting on. Required: these are per-person settings, not per-pharmacy ones. Omitting it is `400 missing-user-context`.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The InStockRx user whose notifications or preferences you are acting on. Required: these are per-person settings, not per-pharmacy ones. Omitting it is `400 missing-user-context`."},"b25aacb6-7cff-4404-9fe0-e1e6a1694004":{"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>"}},"57b6587a-a981-4d8c-a1da-87e684a5b01c":{"in":"path","name":"pharmacyId","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"95f8af40-7302-4522-a354-90f9e4724bbe":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"pharmacyId":{"type":"string","format":"uuid","uniqueKey":"pharmacyId","typeLabel":"string\u003cuuid>"},"channels":{"type":"object","properties":{"email":{"type":"boolean","uniqueKey":"channels.email","typeLabel":"boolean"},"sms":{"type":"boolean","uniqueKey":"channels.sms","typeLabel":"boolean"},"inApp":{"type":"boolean","uniqueKey":"channels.inApp","typeLabel":"boolean"}},"uniqueKey":"channels","typeLabel":"object"},"events":{"type":"object","description":"Per-event toggles. Each key is a notification type — `pharmacy_AsSeller_BuyerPurchasedMarketplaceListing`, and so on — **not** a webhook event name; the two lists are different. `PUT` accepts the keys case-insensitively. Campaign preferences are managed elsewhere and are neither returned here nor settable: posting one changes nothing and it will not appear on the next `GET`.","additionalProperties":{"type":"object","properties":{"email":{"type":"boolean","uniqueKey":"events.additionalProperties.email","typeLabel":"boolean"},"sms":{"type":"boolean","uniqueKey":"events.additionalProperties.sms","typeLabel":"boolean"},"inApp":{"type":"boolean","uniqueKey":"events.additionalProperties.inApp","typeLabel":"boolean"}},"uniqueKey":"events.additionalProperties","typeLabel":"object"},"uniqueKey":"events","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"pharmacyId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","channels":{"email":true,"sms":true,"inApp":true},"events":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"156d5078-c41f-4d6f-8040-a08b964b3f75":{"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":"Get notification preferences for a pharmacy - InStockRx API","navMaps":{"firstHrefInVersion":{"v2":{"href":"/v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy","matchLevel":0},"v1":{"href":"/api-reference/cash-offers/creates-a-new-cash-offer","matchLevel":2}},"firstHrefInLanguage":{}},"originalFileLocation":"v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy.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: notifications:read.\">\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=\"Get notification preferences for a pharmacy - InStockRx API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Scope: notifications:read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"InStockRx API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./v2/api-reference/notifications/get-notification-preferences-for-a-pharmacy\">\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=\"Get notification preferences for a pharmacy - InStockRx API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Scope: notifications:read.\">\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/notifications/get-notification-preferences-for-a-pharmacy\">\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/notifications/get-notification-preferences-for-a-pharmacy.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/notifications/get-notification-preferences-for-a-pharmacy.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","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","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","description":"**Scope:** `notifications:write`.","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","description":"A **partial merge**, not a replace. Only the event types you send are changed; anything you omit is left exactly as it was. Keys are accepted case-insensitively.","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":"Get notification preferences for a pharmacy - 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"]}