Sign in

Update order

documented

Modify fields of an order in CREATED or APPROVED state.

PATCH /v2/checkout/orders/{order_id}Ordersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-m.paypal.com/v2/checkout/orders/{{$order_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '[{"op": "replace", "path": "/purchase_units/0/description", "value": "{{$description}}"}, {"op": "replace", "path": "/purchase_units/0/amount", "value": {"currency_code": "USD", "value": "{{$amount}}"}}]'
Update order · PayPal · OpenIntegrations