> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alura.io/llms.txt
> Use this file to discover all available pages before exploring further.

# shop_id_required

> Shop ID required. HTTP 400, not retryable.

**HTTP 400: Shop ID required.** Retrying the same request gives the same error. Errors never cost API credits.

An operation that works on one shop was called without `shop_id` in a workspace with several connected shops. The body lists them in `shops` (`id` and `name`). With one connected shop, `shop_id` is optional.

**What to do:** Pass `shop_id`: this workspace has several connected shops, listed in `shops`.

```json Response theme={null}
{
  "type": "https://docs.alura.io/errors/shop_id_required",
  "title": "Shop ID required",
  "status": 400,
  "code": "shop_id_required",
  "detail": "Shop ID required",
  "suggestion": "Pass `shop_id`: this workspace has several connected shops, listed in `shops`.",
  "retryable": false,
  "request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
```

The response is `application/problem+json` (RFC 9457) and has a `Request-Id` header with the same `request_id`. See [all errors](https://docs.alura.io/api-reference/errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.