Update an Order

Order API Schema

order_id

total

line_items

finalization_date

accept

Sample cURL Command

curl https://api.usebutton.com/v1/order/ord-xxx \
  -X POST \
  -u my-api-key: \
  -H "Content-Type: application/json" \
  -d '{
    "total": 1000
  }'

Response Examples

application/json

200 - Result

text/plain

403 - Result