Order lifecycle and webhooks

Status moves left to right. Each step sends a webhook. Red paths are the exceptions seen on the reference portal.

  1. Createdorder.created
  2. Invoicedinvoice.created
  3. Sent to pharmacyorder.submitted
  4. Acceptedorder.accepted
  5. Shippedorder.shipped
  6. Deliveredorder.delivered
  7. Fulfillment failedorder.fulfillment_failed
  8. Cancelledorder.cancelled
  9. Credit or refundcredit.issued
  10. Re-routedAnother pharmacy fills
  11. Your webhook endpointMust return 2xx · 5 retries / 24 h
  12. 404 on 25 of 27Fix the path on your server
Createdorder.created
Invoicedinvoice.created
Sent to pharmacyorder.submitted
Acceptedorder.accepted
Shippedorder.shipped
Deliveredorder.delivered
Fulfillment failedorder.fulfillment_failed
Cancelledorder.cancelled
Credit or refundcredit.issued
Re-routedAnother pharmacy fills
Your webhook endpointMust return 2xx · 5 retries / 24 h
404 on 25 of 27Fix the path on your server
Pharmacy rejectsCancel before shipEach event POSTs