novinzodevelopers
Your store's APIApps referenceReseller finance

Extend Statement Due

POST/admin/statements/{statementId}/extend-due

Moves 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

statementId*string
Match^([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.

dueAt*string

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"}