# Sandbox Order Creation

When creating an order via the API, isSandbox defaults to 0, which means a normal order. Pass isSandbox=1 to create a sandbox order. Sandbox order features:

  • Uses a fake/simulated payment process and does not deduct real balance
  • No real logistics or fulfillment will be generated
  • Order query APIs will return the isSandbox field to identify the order type
  • Sandbox simulate pay, sandbox update status and sandbox update track number APIs only support orders created with isSandbox=1

Simulation APIs available for sandbox orders:

API Purpose Note
/shopping/sandbox/simulatePay Sandbox simulate pay Moves an unpaid order to paid (300) without deducting real balance
/shopping/sandbox/updateStatus Sandbox update status Flows in order 300→400→500→600→700, cannot skip or revert
/shopping/sandbox/updateTrackNumber Sandbox update track number Sets or overwrites the tracking number of a paid and not closed sandbox order, readable from trackNumber in order query / order list. No real label is generated