Product Sector
Product sector catalog.
GET/api/product-sectors
List the allowed product sectors of the authenticated partner
Returns the product sectors the authenticated partner is allowed to use, each with its machine-readable value and a human-readable label. Partners without a configured allowlist receive all sectors. Use the value in cart checkout requests to stay within the allowed sectors.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| page | query | integer | no | The collection page number |
Code samples
curl -X GET 'https://sandbox.partner.miete24.com/api/product-sectors' \
-H 'X-Api-Key: YOUR_API_KEY'
const response = await fetch('https://sandbox.partner.miete24.com/api/product-sectors', {
method: 'GET',
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
});
const data = await response.json();
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | ProductSectorsResource collection | array<ProductSectorsResource.ProductSectorResponse> |
| 403 | Forbidden | — |