Zopping

Quickstart

Make your first authenticated call in three steps.

1. Get a token

Ask the retailer's administrator to issue you a Developer-Token for their organization. Keep it secret. Note your organization id — you'll pass it on most requests.

2. Make a call

Every request goes to the gateway at https://zopping.com and carries your token as the apiKey header. List a few products:

export ZOPPING_TOKEN="your-developer-token"

curl "https://zopping.com/api/catalogue-service/product?organizationId=<org-id>&limit=5" \
  -H "Authorization: Bearer $ZOPPING_TOKEN"

3. Read the response

Successful responses are wrapped in a resource key. List endpoints add count / offset / limit:

{
  "product": [
    {
      "id": 10231,
      "name": "Tata Salt 1kg",
      "status": "ENABLED"
    }
  ],
  "count": 1,
  "offset": 0,
  "limit": 20
}

If you get 401, the token is missing or invalid; 403 means your token isn't granted that resource — ask the retailer's admin. See Authentication for the full model.

Next