Updates or sets the transaction with the values of the parameters passed.
This request only accepts the merchantOrderId as an argument.
Arguments | Description | Required | Location |
---|---|---|---|
:tx-id | Identifier of the transaction to be retrieved | Yes | Request Parameter |
merchantOrderId | Unique identifier from your system to match to the Bread transaction ID | No | Request 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": [...],
}