For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Store

Returns the profile of the merchant's store: name, contact email, currency, URLs and plan.

Relay - Get Store

get

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.

Path parameters
merchant_idinteger · int32Required

Violet ID of the merchant.

Example: 12345
Header parameters
X-Violet-TokenstringRequired

Violet auth token. It must belong to the developer that owns the app in X-Violet-App-Id.

X-Violet-App-SecretstringRequired

Secret of the app in X-Violet-App-Id.

X-Violet-App-Idinteger · int32Required

ID of the Violet app making the request. The app must be connected to the merchant.

Example: 20001
Responses
200

The store profile.

application/json

Profile information for a merchant's online store

emailstringOptional

Contact email for the store

namestringOptional

Store name

external_idstringOptional

Store ID from the external platform

first_namestringOptional

First name of the store owner

last_namestringOptional

Last name of the store owner

planstringOptional

Subscription plan for the store

versionstringOptional

Platform version of the store

currencystringOptional

Default currency code for the store

urlstringOptional

Primary URL of the store

custom_urlstringOptional

Custom domain URL for the store

logo_urlstringOptional

URL of the store logo

country_codestringOptional

ISO country code for the store location

state_codestringOptional

State/province code for the store location

languagestringOptional

Default language for the store

timezonestringOptional

Timezone of the store

has_active_planbooleanOptional

Whether the store has an active subscription plan

has_shipping_methodsbooleanOptional

Whether the store has shipping methods configured

weight_unitstringOptionalDeprecated

Weight unit for the store

dimensions_unitstringOptionalDeprecated

Dimensions unit for the store

default_weight_unitstring · enumOptional

Default weight unit of measure for the store

Possible values:
default_size_unitstring · enumOptional

Default size unit of measure for the store

Possible values:
get/relay/merchants/{merchant_id}/store
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?