Skip to main content

Store

A Store is a point of sale of a Merchant, with its own address, POS connection and payment configuration.

idstring

Unique identifier for the Store.

Example: sto_01kg2gestgepdbmsn7hs6bsrwp
conceptStoreIdstringnullable

The ID of the Concept Store this Store belongs to.

Example: conce_01kg2gestgepdbmsn7hs6bsrwp
conceptStoreNamestringnullable

The name of the Concept Store this Store belongs to. Returned only when conceptStore is requested through the include parameter. Retrieve the Concept Store from /v1/concept_stores/{conceptStoreId} to read its other fields.

storeAreaIdstringnullable

The ID of the Store Area this Store belongs to.

Example: starea_01kg2gestgepdbmsn7hs6bsrwp
storeAreaNamestringnullable

The name of the Store Area this Store belongs to. Returned only when storeArea is requested through the include parameter. Retrieve the Store Area from /v1/store_areas/{storeAreaId} to read its other fields.

namestring

The display name of the Store.

slugstringnullable

A URL-safe identifier for the Store, unique across the Merchant.

pos objectnullable

The connection to the POS system that serves the Store. Setting it makes externalId1 required.

posIdstringrequired

The identifier of the Store inside the POS system.

Possible values: <= 10 characters

posEndpointurirequired

The base URL of the POS system. A trailing slash is added when missing.

Possible values: <= 200 characters

externalId1stringnullable

Your own identifier for the Store, unique across the Merchant.

externalId2stringnullable

A second identifier of your own for the Store, unique across the Merchant.

address objectnullable

The postal address of the Store.

streetNamestringrequired

The street name.

Possible values: <= 100 characters

streetNumberstringrequired

The street number.

Possible values: <= 20 characters

citystringrequired

The city.

Possible values: <= 100 characters

provincestringrequired

The two-letter province code.

Possible values: >= 2 characters and <= 2 characters

postalCodestringrequired

The postal code.

Possible values: >= 5 characters and <= 20 characters

countrystringrequired

The country.

Possible values: <= 100 characters

isActiveboolean

Whether the Store is operational.

paymentGatewayConfigurationIdstringnullable

The ID of the PaymentGatewayConfiguration used by this Store. When null, the Merchant default configuration applies.

Example: pgc_01kg2gestgepdbmsn7hs6bsrwp
ecommerceIsActiveboolean

Whether the Store accepts e-commerce orders.

ecommerceDeliveryIsActiveboolean

Whether the Store accepts e-commerce orders for delivery.

ecommercePickupIsActiveboolean

Whether the Store accepts e-commerce orders for pickup.

ecommerceReservationIsActiveboolean

Whether the Store accepts e-commerce reservations.

status objectnullable

The current health of the Store POS connection. Returned only when status is requested through the include parameter, and only for active Stores that have pos configured.

statusstring

The current health of the Store.

Possible values: [Up, Degraded, Down]

currentStatusFromUtcdate-time

The UTC timestamp when the Store entered the current status.

lastCheckedAtUtcdate-time

The UTC timestamp of the most recent health check.

lastSuccessAtUtcdate-timenullable

The UTC timestamp of the most recent successful health check.

consecutiveKosint32

The number of consecutive failed health checks.

consecutiveOksint32

The number of consecutive successful health checks.

lastResponseTimeMsint32

The response time of the most recent health check, in milliseconds.

createdOnUtcdate-time

The UTC timestamp when the Store was created.

Store
{
"id": "sto_01kg2gestgepdbmsn7hs6bsrwp",
"conceptStoreId": "conce_01kg2gestgepdbmsn7hs6bsrwp",
"conceptStoreName": "string",
"storeAreaId": "starea_01kg2gestgepdbmsn7hs6bsrwp",
"storeAreaName": "string",
"name": "string",
"slug": "string",
"pos": {
"posId": "string",
"posEndpoint": "string"
},
"externalId1": "string",
"externalId2": "string",
"address": {
"streetName": "string",
"streetNumber": "string",
"city": "string",
"province": "string",
"postalCode": "string",
"country": "string"
},
"isActive": true,
"paymentGatewayConfigurationId": "pgc_01kg2gestgepdbmsn7hs6bsrwp",
"ecommerceIsActive": true,
"ecommerceDeliveryIsActive": true,
"ecommercePickupIsActive": true,
"ecommerceReservationIsActive": true,
"status": {
"status": "Up",
"currentStatusFromUtc": "2024-07-29T15:51:28.071Z",
"lastCheckedAtUtc": "2024-07-29T15:51:28.071Z",
"lastSuccessAtUtc": "2024-07-29T15:51:28.071Z",
"consecutiveKos": 0,
"consecutiveOks": 0,
"lastResponseTimeMs": 0
},
"createdOnUtc": "2024-07-29T15:51:28.071Z"
}