Commerce

Redeliver order

Send a paid order's digital files again.

Each digital line's file or link, to the order's phone on WhatsApp, as the approved order_file template from the shop's number. The caller also needs messages:send for the send. The same Idempotency-Key sends nothing again; 5 a minute per order.

Path Parameters

order*string
Formatuuid

Header Parameters

Idempotency-Key?string

Visible ASCII; a repeat sends nothing again.

Lengthlength <= 190
X-Request-Id?string

Your id for this request; it becomes the request_id of any error. Without it the server makes one.

curl -X POST 'https://v3.ghala.io/v1/commerce/shop/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/redeliver'
{  "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",  "sent": 0,  "total": 0,  "files": [    {      "item": "string",      "filename": "string",      "url": "string",      "sent": true    }  ]}