Add Discount to Checkout
Authentication
Path parameters
ID of the checkout; the same as the cart ID.
ID of the checkout; the same as the cart ID.
Adds a discount to an existing checkout.
Use this endpoint to apply the following discounts:
Notes:
Required Fields:
discounted_amount at the cart-level or at the item-levelTo prevent lost updates due to concurrent requests overriding changes made by others, it is recommended to enable optimistic concurrency control by including the version field in the request payload. If the provided version does not match the version on the server, a conflict error will be returned, which the client can handle accordingly.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
The MIME type of the response body.