Skip to main content

Write-off Preview

GET 

/api/walmart/:integrationInstance/wfs/inbound-shipments/:shipment/write-off-preview

What closing or restoring this shipment by hand would write off, to show before confirming. Changes nothing. For a finished shipment with no saved contents it reads them from Walmart.

Required scope: warehouses:read

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

Returns data: null when neither is offered. Otherwise:

  • kind: closed_by_seller (Close Inbound Shipment) or restored_finished (Restore Finished Inbound Shipment).
  • units, amount, currency, source_name.
  • posts_on (date): the day the journals would carry, in the account's time zone.
  • blocked_reason: why it cannot be done now, or null.
  • note: what the amount leaves out, or null (goods sent before the books open, or with no cost).

Authentication: Requires Bearer token.

Requires the warehouse_transfers.receive permission.

Request​

Responses​

OK

Response Headers
    Content-Type