Bread Order Management

Once a customer checks out through Bread's modal an order is created within Bread's systems. This order is in a PENDING state and will need to be updated to properly go through the order process.

Overview: Bread Order States

24092409

PENDING

Bread orders fall into a PENDING state immediately after a checkout is complete. If no action is taken on a Bread order it will stay in a PENDING state until it expires.

AUTHORIZED

A Bread order should be authorized once it is signed off on by the merchant. Meaning if the order total in a merchant's Order Management System matches the order total of the Bread order the merchant should send an API request to Bread to move the order from a PENDING to an AUTHORIZED state.

SETTLED

When a merchant settles an order in their systems a request should be sent to Bread to move the order from an AUTHORIZED to a SETTLED state. Bread's standard practice is this request is sent at the time of shipment. When an order is moved to a SETTLED state Bread will release the funds to the merchant.

πŸ“˜

Changing Order States

Changing Bread order states requires the order's TRANSACTION ID. This ID is provided to the merchant after a customer completes a checkout via the INSTALLMENTS:APPLICATION_CHECKOUT event callback function

API Requests and Responses

🚧

Access Tokens required

You will need to have the proper access tokens generated to access Bread's APIs. Access tokens can be generated using Basic Authentication by sending the client credentials (API and Secret Key) found in the Bread Merchant Portal. See the API Access Tokens page for more details

Consult the below links for information on sending requests and generating responses from Bread's Transaction API:


What’s Next