# Margin of a variant's price against the cheapest supplier cost

`GET /shop/margin` · Rivier · shop

Margin of a variant's price against the cheapest supplier cost.

- Scope: shop:read
- Mcp: rivier_shop_margin
- Sdk: shop.margin.get
- Cli: shop margin get

## Parameters

- `variantId` (query, required), string
- `amountMinor` (query), integer
- `currency` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/shop/margin' \
  -H 'Authorization: Bearer $KEY'
```
