Store resource

Methods

  • post - Create a store
  • get - Get a store by id
  • put - Update a store

Resource

{
    "baseProduct": "string",
    "createDate": "date-time",
    "customerId": "string",
    "defaultLocale": "string",
    "design": {
        "<key>": {
            "<key>": "string"
        }
    },
    "id": "string",
    "includeTax": "boolean",
    "logo": {
        "<key>": "string"
    },
    "name": "string",
    "saleLocales": [
        "string"
    ],
    "status": "string",
    "updateDate": "date-time"
}

Properties

Name Type Description Additional
baseProduct string

Product id of the store

Optional
createDate date-time Optional
customerId string

Customer id of the store

defaultLocale string

Store default locale

design object

Setting for the cart UI

Optional
design.<key> map of object Optional
design.<key>.<key> map of string Optional
id string Optional
includeTax boolean

Is store including taxes?

logo object

Key/Value - id/URI location of the stored logos

Optional
logo.<key> map of string Optional
name string

Store name

saleLocales[] array of string

Locale where the store is available

status string

Store status

Possible values are:

  • ENABLED
  • DISABLED
  • DELETED
Optional, read only.
updateDate date-time Optional, read only.

Example

{
    "baseProduct": "a0253398-b0c5-4c2d-a15f-bd97ea4be60",
    "customerId": "a0253398-b0c5-4c2d-a15f-bd97ea4be60",
    "defaultLocale": "en-US",
    "design": "{\"default\":{\"key\":\"value\",\"key2\":\"value2\"}}",
    "includeTax": true,
    "logo": "{\"logo\",\"http://nexway.com/logo.jpg\"}",
    "name": "Iap",
    "saleLocales": "[\"en-US\",\"fr-FR\"]",
    "status": "ENABLED",
    "updateDate": "1479225750482"
}