Get the seller's contact details
curl --request GET \
--url https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact \
--header 'X-InStockRx-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-InStockRx-Api-Key': '<api-key>'}};
fetch('https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact"
headers = {"X-InStockRx-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Marketplace listings
Get the seller's contact details
Scope: listings:read.
Contact details for the selling pharmacy on a listing you are party to.
GET
/
marketplace-listings
/
{id}
/
seller-contact
Get the seller's contact details
curl --request GET \
--url https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact \
--header 'X-InStockRx-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-InStockRx-Api-Key': '<api-key>'}};
fetch('https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox-api.instockrx.com/marketplace-listings/{id}/seller-contact"
headers = {"X-InStockRx-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Headers
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.
Response
200
Succeeded. The response shape for this operation is not yet in the published contract — it is live ahead of the document.