Developers

Profile and stores

Who the token belongs to — seller, countries, your connection — and the seller’s stores (boutiques).

Get the connected seller

GET/mescope profile:read
curl "https://coliswift.com/api/partner/v1/me" \
  -H "Authorization: Bearer $COLISWIFT_ACCESS_TOKEN"
Response
{
  "seller": {
    "id": "6a1c2f0e-3b7d-4c55-9e10-2f8a4b7c9d01",
    "name": "Samira Benali",
    "email": "seller@example.com",
    "companyName": "Atlas Beauty",
    "countries": [
      "MA"
    ]
  },
  "client": {
    "id": "b7e2c4a1-9f3d-4e6b-8a20-5c1d7e9f0a3b",
    "name": "Your App"
  },
  "grant": {
    "id": "f3a9d2c1-7e5b-4a8f-9c60-1b2d3e4f5a6b",
    "scopes": [
      "profile:read",
      "catalogue:read",
      "orders:write",
      "orders:read"
    ],
    "createdAt": "2026-11-02T09:14:03.000Z"
  },
  "stores": [
    {
      "id": "b2d4e6f8-1a3c-4e5f-8a9b-0c1d2e3f4a5b",
      "name": "atlas-beauty.example",
      "countryCode": "MA",
      "status": "active"
    }
  ]
}
seller.idstring

Seller id — the same as seller_id in the token response and webhook envelopes.

seller.namestring

First and last name.

seller.emailstring | null

Account e-mail.

seller.companyNamestring | null

Company name.

seller.countriesstring[]

Primary country first, then the additional ones, upper case. The only countries the seller can use in any call.

clientobject

id and name of your app as ColiSwift knows it.

grantobject

id, scopes (all scopes of the connection) and createdAt of the connection.

stores[]object[]

id, name, countryCode, status of every store of the seller, by name.

List stores

GET/storesscope products:write
curl "https://coliswift.com/api/partner/v1/stores" \
  -H "Authorization: Bearer $COLISWIFT_ACCESS_TOKEN"
Response
{
  "data": [
    {
      "id": "b2d4e6f8-1a3c-4e5f-8a9b-0c1d2e3f4a5b",
      "name": "atlas-beauty.example",
      "countryCode": "MA",
      "url": "https://atlas-beauty.example",
      "status": "active"
    }
  ]
}

Create a store

POST/storesscope products:write
namestringrequired

Store name.

countryCodestring (2)

Country of the store.

urlURL

Public address of the shop.

curl -X POST "https://coliswift.com/api/partner/v1/stores" \
  -H "Authorization: Bearer $COLISWIFT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "atlas-beauty.example",
  "countryCode": "MA",
  "url": "https://atlas-beauty.example"
}'

Answers 201 with the created store as ColiSwift stores it. Use its id as storeId on products and orders.