Updates or sets the transaction with the values of the parameters passed.

This request only accepts the merchantOrderId as an argument.

ArgumentsDescriptionRequiredLocation
:tx-idIdentifier of the transaction to be retrievedYesRequest Parameter
merchantOrderIdUnique identifier from your system to match to the Bread transaction IDNoRequest Body
PUT https://api.getbread.com/transactions/:tx-id
{
  "merchantOrderId": "my-cms-order-id"
}
curl -u <api-key>:<secret-key> \
    -X PUT \
    -H 'Content-Type: application/json' \
    https://api.getbread.com/transactions/86279175-3d85-4be7-a368-5615d932ef3c \
    -d '{"merchantOrderId": "my-cms-order-id"}'
{
  "billingContact": { ... },
  "breadTransactionId": "caf8afac-1a6f-4f55-a6d8-fd46763e8cb3",
  "merchantOrderId": "my-order-id",
  "createdAt": "2015-10-13T20:00:00.000000-04:00",
  "lineItems": [...],
}