Skip to content

COD code outcomes

GET/admin/v1/stores/{store_id}/risk/cod-codes/summary
  • settings:read
  • orders:read

Phone-code results for cash-on-delivery checkouts over the last days (default 30): texted, confirmed, failed and pending.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • daysinteger

    1–365, default 30.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 The results.

Errors

  • 403forbiddenMissing permission.