Skip to main content

Use the RP Local Delivery Date API

Use the Pro API to connect a server-side system to app locations, advisory availability, and eligible delivery or pickup schedules. It can

Use the Pro API to connect a server-side system to app locations, advisory
availability, and eligible delivery or pickup schedules. It can also request a
delivery reschedule or mark an app pickup ready when the credential has the
required write permission.

Developer API access, permissions, credentials, usage, limits, and recent operations

Create a credential

  1. Open Settings → Development → API and select Refresh API status.

  2. Confirm the environment reports API access available.

  3. Enter a descriptive credential name.

  4. Select only the required permissions.

  5. Select Create API credential and copy the token immediately. It is shown
    once. Store it in a server-side secret manager.

  6. Copy the displayed API base URL and select Open API documentation for
    the guide served by that environment.

Up to ten active API/webhook credentials can exist for a store. New API keys
default to read permissions; write permissions must be selected explicitly.

Permissions

Permission

Use

locations:read

Read app locations, profile IDs, methods, and store timezone.

availability:read

Read advisory dates and slots for one location/profile/method. It does not reserve capacity or confirm address, cart, or price eligibility.

schedules:read

List and read eligible app-associated order schedules and revisions. Customer contact details are excluded.

delivery:reschedule

Request a delivery date/time change at the existing location, subject to current rules. It does not change location or fees.

pickup:write

Mark an app pickup ready. It does not fulfill the Shopify order or notify the customer.

Write permissions do not automatically grant read access. Include
​schedules:read when the client must read the current revision before writing.

Authenticate from a server

Use the HTTPS base URL displayed in the app and send:

Authorization: Bearer YOUR_API_TOKEN

The API rejects browser-origin requests. Do not put a real token in a public
URL, storefront bundle, shared shell history, documentation, or log output.

Endpoints

Method

Path

Purpose

GET

/locations

List locations and associated delivery/pickup profiles.

GET

/availability

Check advisory availability for a location, profile, method, and date range.

GET

/orders

List eligible app-associated schedules.

GET

/orders/ORDER_ID

Read one schedule and its current revision.

POST

/actions/reschedule_delivery

Queue a delivery schedule change.

POST

/actions/mark_pickup_ready

Queue an app-owned pickup-ready update.

GET

/operations/OPERATION_ID

Poll an action created by the same credential.

Lists use limit from 1–100 and an opaque cursor. Continue with the returned
cursor and the same filters until next_cursor is null. Order and availability
date filters use scheduled dates in the store timezone, not Shopify order
creation dates, and may span at most 31 inclusive days.

Safe write workflow

  1. Read the order and capture its current revision and location.

  2. Choose a unique Idempotency-Key for the intended business action.

  3. Send the write with expected_revision and the existing location.

  4. A successful submission returns HTTP 202 and an operation ID. 202 means
    queued, not completed.

  5. Poll /operations/OPERATION_ID until it reports succeeded or failed.

Retry the same intended request with the same idempotency key after a timeout.
Do not generate a new key merely because the client did not receive a response.
For a revision conflict, reread the order and review the current state before
creating a new intended action.

Limits

  • 60 reads and 10 writes per fixed UTC minute, shared by store credentials

  • Five pending actions

  • 64 KiB maximum request body

  • 1–100 records per list request

  • 31 inclusive days per date range

  • 30-day operation and idempotency retention

HTTP 429 includes Retry-After; wait for that duration. Polling counts as a
read.

Responses and troubleshooting

  • 401: invalid or revoked credential

  • 403: missing scope/Pro access or a browser-origin request

  • 404: missing or inaccessible store-scoped resource

  • 409: revision or idempotency conflict

  • 413: request body exceeds 64 KiB

  • 422: invalid field, filter, date range, or schedule

  • 429: request or pending-action limit reached

  • 500/503: temporary processing failure; retry safely with the same key

Errors contain a safe request ID, also returned in X-Request-Id. Give Support
the timestamp, method, path, status, request/operation ID, and a redacted error
body. Never send the token.

The live Markdown reference is at BASE_URL/docs.md; machine-readable OpenAPI
is at BASE_URL/openapi.json. Those versioned resources are authoritative for
request and response schemas.

Suggested Articles

Did this answer your question?