Create a campaign discount

A reason for a campaign discount is to e.g. be able to collect all flight discounts to a single column in finance documents.

Path Params
string
required

External ID of a campaign. See: Good and Bad External IDs

Responses

400

Returns a list of errors in the input data. For this call the following violation codes can be expected errors:

  • 450ae979-312c-45b9-b61a-dfcde745b8e7 - Cannot create campaign discount with an external id that is already in use. Campaign discount external id: "{{ campaignDiscountExternalId }}" is already in use in campaign with external id "{{ campaignExternalId }}". Use update instead or use a different external id.
  • 0e31a231-9575-4430-8ab2-937bbd9e771d - Flight with external ID '{{ flightExternalId }}' is already partly invoiced.

Language
Response
Choose an example:
application/json