Skip to main content
GET
/
shops
Get shop
curl --request GET \
  --url https://store.salesive.com/api/v1/shops \
  --header 'Authorization: Bearer <token>' \
  --header 'x-shop-id: <api-key>'

Request

GET /shops
x-shop-id: {{shopId}}

Headers

HeaderTypeDescription
x-shop-idstringIdentify the shop.
You can also use the Referrer header instead of x-shop-id to identify the shop by domain.

Successful response

{
    "status": 200,
    "success": true,
    "message": "Shop retrieved successfully",
    "data": {
        "_id": "68b8f52575da81b332af29f1",
        "name": "Salesive Store",
        "slug": "salesive",
        "domain": "salesive.salesive.store",
        "logo": "https://cdn.salesive.com/shops/logo.png",
        "currency": "NGN",
        "settings": {
            "allowGuestCheckout": true,
            "enableReviews": true
        },
        "createdAt": "2025-01-01T00:00:00.000Z"
    }
}

Error response

{
    "status": 404,
    "success": false,
    "message": "Shop not found",
    "data": {}
}

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Response

200

Shop information retrieved