Purchase State

Preview next order date for a selling plan (read-only)

get/vendor/customer/{customerRelationshipId}/purchase-state/{customerPurchaseStateId}/selling-plan-next-order-date-preview

Request

  • Base URL
    https://smartrr-dev.local.com
  • URL
    https://smartrr-dev.local.com/vendor/customer/{customerRelationshipId}/purchase-state/{customerPurchaseStateId}/selling-plan-next-order-date-preview
  • Auth
    API key in header x-smartrr-access-token

Path parameters

customerRelationshipIdstring required
customerPurchaseStateIdstring required

Query parameters

sellingPlanIdstring required

Target selling plan — Shopify GID or numeric id (as string)

Response

Successful response

nextOrderDatestring date-time required

Changes

No recorded changes to this operation across all 8 revisions of this API.