Skip to main content

Refresh Sales Order Address Snapshots

POST 

/api/sales-orders/:salesOrder/refresh-address-snapshots

Re-copies the current contents of the order's shipping and billing address records into the order's own inline address snapshot columns. Use this after editing an address record's content (same address ID, different data) so the order's stored snapshot — which is what documents and the order detail display — reflects the corrected address.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Only addresses linked by ID are refreshed; orders whose snapshot has no backing address record are left unchanged.

Authentication: Requires Bearer token.

No request body.

Path parameters:

  • salesOrder (required): Sales order ID.

Requires permission: sales_orders.update

Request

Responses

OK

Response Headers
    Content-Type