List cash-on-delivery 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:codIn: header
Scope: read:cod
Path Parameters
Query Parameters
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"
}
]
}Get a lead GET
Read one captured lead: contact details, captured form fields, and the conversation it came from. Never returns network data. Requires the `read:leads` permission.
Cash-on-delivery metrics GET
Outcome counts, upsell revenue per currency, the estimated shipping cost avoided, a daily trend, and why any confirmations never reached a customer. Defaults to the trailing 30 days. `shippingSaved.estimatedMinor` is null when the store has not supplied an average shipping cost — treat that as unknown, not zero. Requires the `read:cod` permission.