Get Store
Returns the profile of the merchant's store: name, contact email, currency, URLs and plan.
Returns the profile of the merchant's store: name, contact email, currency, URLs and plan. Fields the platform does not provide are omitted. Shopify does not return primary_address or shop_locations.
Supported platforms: Shopify, BigCommerce, WooCommerce, Magento and Square. On any other platform the response is 400 operation_not_supported_exception.
Violet ID of the merchant.
12345Violet auth token. It must belong to the developer that owns the app in X-Violet-App-Id.
Secret of the app in X-Violet-App-Id.
ID of the Violet app making the request. The app must be connected to the merchant.
20001The store profile.
Profile information for a merchant's online store
Contact email for the store
Store name
Store ID from the external platform
First name of the store owner
Last name of the store owner
Subscription plan for the store
Platform version of the store
Default currency code for the store
Primary URL of the store
Custom domain URL for the store
URL of the store logo
ISO country code for the store location
State/province code for the store location
Default language for the store
Timezone of the store
Whether the store has an active subscription plan
Whether the store has shipping methods configured
Weight unit for the store
Dimensions unit for the store
Default weight unit of measure for the store
Default size unit of measure for the store
The platform is not supported by this endpoint (operation_not_supported_exception), or, on Shopify, BigCommerce and Square, the platform rejected Violet's stored connection (invalid_merchant_credentials).
The app is not connected to the merchant (merchant_not_connected).
The token does not belong to the developer that owns the app, or the app is not subscribed to the Relay plan (insufficient_permissions).
The request failed in Violet or while reading from the merchant's platform.
GET /v1/relay/merchants/{merchant_id}/store HTTP/1.1
Host: sandbox-api.violet.io
X-Violet-Token: text
X-Violet-App-Secret: text
X-Violet-App-Id: 1
Accept: */*
{
"email": "owner@example.com",
"name": "Example Goods",
"external_id": "gid://shopify/Shop/61234567890",
"plan": "Basic",
"currency": "USD",
"url": "example-goods.myshopify.com",
"custom_url": "https://shop.example.com",
"country_code": "US",
"state_code": "IL",
"language": "en",
"has_active_plan": true,
"has_shipping_methods": true
}Last updated
Was this helpful?