post
https://api-pharmacy.sandbox.cannaflow.de/api/v1/checkout
Creates a checkout session of a prescription and optional service baskets. Returns a checkout URL where the patient can complete the purchase. Prescription products and basket items are paid as split payments to different payment accounts.
Possible errors:
InsufficientStock (409 CONFLICT): One or more prescribed products do not have sufficient stock at the designated pharmacy. Example response body:
{
"message": "Insufficient stock",
"code": "CONFLICT",
"id": "InsufficientStock",
"payload": {
"pharmacyId": "pha_123456",
"products": [
{ "productId": "CF0001", "registryItemId": "RI0042" }
]
}
}