Skip to main content
POST
/
v3
/
channels-stores
cURL
curl --request POST \
  --url https://api.artisn.desarrollo-redbrand.com/api/v3/channels-stores \
  --header 'Content-Type: application/json' \
  --data '
{
  "stores": [
    {
      "name": "New store 805",
      "active": true,
      "storeId": 805,
      "services": [
        {
          "name": "DELIVERY",
          "active": true
        }
      ],
      "vendorId": 16,
      "schedulesByChannel": [
        {
          "channelId": "0F049503-85CF-E511-80C6-000D3A3261F3",
          "schedules": [
            {
              "day": "FRIDAY",
              "endTime": "22:30",
              "startTime": "10:00"
            }
          ]
        }
      ],
      "storeCode": "T005",
      "taxesInfo": {
        "taxRate": 0,
        "vatRatePercentage": 12
      },
      "contactInfo": {
        "phone": "23955400",
        "address": "PICHINCHA / QUITO / INAQUITO / AV. AMERICA N37-288 Y VILLALENGUA"
      },
      "deliveryInfo": {
        "cookTime": "10",
        "deliveryId": 46356,
        "minimumOrder": "0.00",
        "shippingCost": 1.99
      },
      "locationInfo": {
        "city": "QUITO",
        "latitude": "-0.17250869436401206",
        "longitude": "-78.49125266075134"
      },
      "storeChannels": [
        "0F049503-85CF-E511-80C6-000D3A3261F3"
      ]
    }
  ],
  "channels": [
    {
      "active": true,
      "channel": "Llevar",
      "vendorId": 16,
      "channelId": "0E049503-85CF-E511-80C6-000D3A3261F3",
      "additionalInfo": {
        "mediaId": "E683B6FE-65A9-4D01-B07B-FA1A3C8BCA8D",
        "mediaName": "PICKUP",
        "relatedLists": [
          {
            "listId": "42203FD3-0194-EA11-80EE-000D3A019254",
            "listName": "PICKUP ECOMMERCE T"
          }
        ]
      },
      "channelReferenceName": "Llevar PICKUP"
    }
  ]
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}

Documentation Index

Fetch the complete documentation index at: https://docs.x-mart.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
stores
object[]

List of stores to create

channels
object[]

List of sales channels to create

Response

response upon logging in

accessToken
string

The access token to be used in the API. DO NOT EXPOSE THIS TOKEN TO THE CLIENT!

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"