Sync a value receipt

Find or create a value receipt by natural key (customer + product/order + dates), then populate it with current data inline. Returns the ID, status, and public URL. Posted (sealed) VRs are returned as-is without re-populating.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
startDatedatetimeRequired
endDatedatetimeRequired
customerIdstringOptional>=1 character
Mutually exclusive with externalCustomerId. Exactly one is required.
externalCustomerIdstringOptional>=1 character
Mutually exclusive with customerId. Exactly one is required.
productobjectOptional
Mutually exclusive with orderId. Provide at most one.
orderIdstringOptional>=1 character
Mutually exclusive with product. Provide at most one.

Response

200
idstring
statusstring
publicUrlTokenstring
publicUrlstringformat: "uri"

Errors

400
Bad Request Error
404
Not Found Error
500
Internal Server Error