Full code before customer delivery

Full code at checkout; audited access.

Full code at checkout; audited access.

Why this method exists

Full code at checkout; audited access.

When to use

Immediately before realize in checkout.

Endpoint

POST /v1/platform/promo-codes/get

Authentication: X-Api-Key header (prefix bk_plt_). Do not send projectId or actor id in body — they come from the key.

Scope: platform:catalog:read

Request example

{
  "meta": { "requestId": "optional-uuid" },
  "data": { "codeId": "code-uuid" }
}

Response example

{
  "success": true,
  "data": {
    "id": "code-uuid",
    "codeDisplay": "QUEEN14-48AMU",
    "status": "available",
    "supplierName": "Промомед",
    "validUntil": "2026-12-31T23:59:59Z"
  }
}

Errors

  • UNAUTHORIZED / ACCESS_DENIED — access denied
  • VALIDATION_ERROR — invalid body
  • NOT_FOUND — resource not found
  • RATE_LIMIT_EXCEEDED (429) — rate limit

cURL

curl -X POST "https://api-external.promanta.ru/v1/platform/promo-codes/get" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -d '{"data": { "codeId": "code-uuid" }}'

See also

wiki.ratingPrompt

0 (0 оценок)
Full code before customer delivery — PROMANTA