B2Store

B2Broker products for B2STORE

The products of the B2Broker workspace for B2STORE: id and name of every product that is not deleted, ordered by creation. B2STORE sends one of these ids, with its own tenant id, to `POST /api/v2/backoffice/tenants`. No other workspace, no customer data. `languages` are the languages a tenant of that product may be created with — the workspace language set `POST /api/v2/backoffice/tenants` validates against — ordered by id. Access: exact-IP allowlist (B2STORE_ALLOWED_IPS) and the bearer webhook secret (B2STORE_WEBHOOK_SECRET); any refusal is an undifferentiated 403.

GET
/api/v2/orchestrator/products

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/orchestrator/products"
{  "products": [    {      "id": "4d5f1c7b-46cd-4477-a064-5fb06247d3c6",      "name": "b2copy",      "languages": [        {          "id": 1,          "name": "English",          "lang": "en",          "langBcp": "en",          "dir": "ltr"        }      ]    }  ]}
{  "message": {    "error": "You are not allowed to perform this action."  }}
{  "message": {    "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}"  }}