Post discount code

Add a discount code to the checkout process.

POST https://api.eventgoose.com/v1/checkouts/{session}/discount

Authentication

Authenticate yourself using your organisation api token

Parameters

event_id
string
required

The event identifier currently used in the checkout process.

code
string
required

A valid discount code created by your organisation.

Response

200 application/json

None