Extend Statement Due
/admin/statements/{statementId}/extend-dueMoves an unpaid statement's due date to dueAt, which may be any time after its period ends, earlier included. Whether the statement is overdue, blocks purchases or suspends the reseller is read off the new date, and a reseller suspended for it is reinstated when its statements are next settled, unless another is still that late. Refused for a paid statement and for a sub-reseller's, which its upline bills.
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/statements/string/extend-due" \ -H "Content-Type: application/json" \ -d '{ "dueAt": "string" }'{ "id": "string", "membershipId": "string", "periodStart": "string", "periodEnd": "string", "amountDueMinor": 0, "amountPaidMinor": 0, "currency": "AED", "dueAt": "string", "status": "open", "issuedAt": "string", "writtenOffAt": "string"}Dismiss Top Up POST
Closes an unclaimed top-up without crediting anyone, once the seller refunded its order in core.
Get Currency History GET
The store's changes of currency, oldest first, each with the rate the plugin carried balances and owed statements over at: a unit of `from` was worth `rate` of `to`. What was charged, paid or earned before a change keeps the currency it was in; converting it across every change from the latest one out of its currency gives what it is worth in the store's currency now. Empty for a store that never changed its currency.
