Get Shop Details

The Get Shop API allows developers to fetch comprehensive information about a shop by using its unique identifier and configurable query parameters. This endpoint supports retrieving specific fields based on the user’s request.

🔒

Requires read_shop access scope. More access scope

Request Parameters

Public Request Parameters

📘

Query Parameters

ParameterTypeRequiredDescriptionExample
fieldsstringNoSpecifies which fields to include in the response. Use commas to separate multiple fields.id,name,email

Response Description

Public Response Fields

📘

Success Response

ParameterTypeExampleDescription
codestringSuccessResponse status code
messagestringOperation result message
data.accountstringacc_123456Shop account identifier
data.address1string123 Main StreetPrimary address line
data.address2stringSuite 456Secondary address line
data.citystringNew YorkCity name
data.country_codestringUSISO country code
data.created_atstring2024-04-23T09:32:57+08:00Creation timestamp
data.currencystringUSDShop currency
data.customer_emailstring[email protected]Shop owner email
data.domainstringshop.example.comCustom domain
data.emailstring[email protected]Shop email
data.icon.altstringShop logoIcon alternative text
data.icon.pathstring/images/shop-icon.pngIcon file path
data.icon.srcstringhttps://cdn.example.com/shop-icon.pngIcon URL
data.idinteger123456Shop ID
data.namestringMy Awesome ShopShop name
data.phonestring+1234567890Contact phone number
data.primary_localestringen-USPrimary locale
data.province_codestringNYState/province code
data.root_urlstringhttps://shop.example.comShop root URL
data.shop_ownerstringJohn DoeShop owner name
data.statestringNew YorkState/province name
data.system_domainstringexample.myshoplaza.comSystem domain
data.timezonestringAmerica/New_YorkShop timezone
data.updated_atstring2024-04-23T09:32:57+08:00Last update timestamp
data.zipstring10001ZIP/postal code

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!