ShopEazydevelopers
API referenceMerchant API BetaDelivery

One courier's own settings

Beta
Credentials
  • OAuth access token
Scopes
store:read
Role
Owners and admins only. Staff get 403 forbidden.
GET
/v1/merchant/stores/{storeId}/delivery/couriers/{providerId}

Services, hand-over (driver collects or the merchant drops off), the drop-off point and the courier's own markup. getDelivery lists the couriers and whether each is connected; this is what saveCourierConfig changes. A courier that was never connected answers the defaults (collection: driver).

Access: OAuth scope store:read; owner/admin only; not write-gated.

Authorization

merchantOAuth store:read
headerAuthorizationBearer <token>

OAuth 2.1 (authorization code + PKCE S256, public clients, dynamic registration) for connected AI apps. Effective power is scopes granted AND the person's role today AND the plan. orders:refund, billing:write and team:write are opt-in on the consent screen. Write implies read for marketing:read and messages:read, so a grant holding marketing:write passes a marketing:read check, and messages:send passes messages:read.

Scope: store:read

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

providerId*string

A payment provider id (e.g. yoco, peach, ikhokha) or courier id.

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/delivery/couriers/<providerId>' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "providerId": "string",    "services": {      "door": true,      "locker": true    },    "collection": "driver",    "dropOffPoint": {      "id": "string",      "provider": "string",      "name": "string",      "address": "string",      "hours": "string",      "lat": 0,      "lng": 0    },    "markupBps": 0  }}