Fetchply Docs

List cash-on-delivery confirmations

GET
/api/v1/agents/{id}/cod-confirmations

List cash-on-delivery order confirmations, newest first, paged with limit/offset and filterable by status and an inclusive startDate/endDate range (YYYY-MM-DD). Buyer phone numbers are never returned. Requires the read:cod permission.

Authorization

BearerAuth read:cod
AuthorizationBearer <token>

In: header

Scope: read:cod

Path Parameters

id*string

Query Parameters

limit?integer
offset?integer
status?string
startDate?string
endDate?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/agents/string/cod-confirmations"
{
  "items": [
    {
      "id": "c7f1a2b3-4d5e-6f70-8192-a3b4c5d6e7f8",
      "agentId": "a1b2c3d4e5",
      "orderNumber": "#1042",
      "orderId": "gid://shopify/Order/5544332211",
      "status": "confirmed",
      "suppressedReason": null,
      "currency": "PKR",
      "orderTotal": "2499.00",
      "changeRequest": null,
      "upsellRevenueMinor": 89900,
      "remindersSent": 1,
      "orderPlacedAt": "2026-08-15T10:00:00.000Z",
      "firstContactedAt": "2026-08-15T10:00:12.000Z",
      "decidedAt": "2026-08-15T10:41:03.000Z",
      "createdAt": "2026-08-15T10:00:05.000Z"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}