API

Sections

Theme switcher

/amendments/confirm

This endpoint can be used to confirm an amendment of a booking in carrier system.

For details about how this endpoint fits into the flow, check the Amendments guide.

Please note that this is an enterprise API feature. Reach out to your Partnership Manager for more information about unlocking this and other advanced features.

Header Parameters

api-keystring Required

Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.

Body Parameters

amendment_idstring Required

Set the ID of the amendment to be confirmed. Use the value retrieved from /amendments/create. Reference value: ARJWJ7JN.

execute_paymentstring

Set the payment execution method. If the new trip price is 0 or negative, remove this parameter. Standard value for all retailers set as false. Reference value: false.

payment_methodstring

Set the payment method. If the new trip price is 0 or negative, remove this parameter. Standard value for all retailers set as demand_note. Reference value: demand_note.

terms_acceptedstring Required

Set the acceptance status of the terms by the passenger. Standard value for all retailers set as true. Reference value: true.

Response

200 (amend request created)
Object
Successful response with amendment creation confirmed

Response Attributes

dataobject

Show child attributes

jsonapiobject

Show child attributes

metaobject

Show child attributes

includedarray

Show child attributes

400 (amend not found)
Object
Error response: amendment not found

Response Attributes

errorsarray

Show child attributes

jsonapiobject

Show child attributes

Was this section helpful?

What made this section unhelpful for you?

PUT

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot