Skip to main content
GET
Retrieve promocodes

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Scopes

invoices.readonly

Read contracts, credit notes, discounts and invoices

invoices

Read and write contract, credit notes, discounts and invoices

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Query Parameters

couponRef
string<uuid>

UUID of the coupon whose promocodes to list.

locationRef
string<uuid>

UUID of the location whose promocodes to list. Omit with couponRef to list promocodes across every location of the network.

Response

Success

promocodes
object[]