Skip to main content
POST
Preview a promo code

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Corps

application/json
code
string
requis

Promo code.

items
object[]

Réponse

promoCode and totalDiscount (cents).

The response is of type object.