# Get shop (v1)

An account's shop: merchant IDs, collections and the first products. Pass a collection `id` to `/v1/instagram/shop/collection/products`. An account without a shop returns `data: null`.

- Platform: Instagram
- Request: `GET https://api.toolzerhub.com/v1/instagram/shop`
- Auth: `x-api-key` header
- Cost: 2 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/instagram/shop/get-instagram-shop

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `username` | query | no | string | Account username with or without @, or an instagram.com profile URL. |
| `user_id` | query | no | string | Numeric account ID, from the pk field of /v1/instagram/profile. Send exactly one of username or user_id. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/instagram/shop" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. When nothing is found, `data` is `null` and `details` explains why. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
