Owneat Technical Guide main Help

Toggle the paying customer id of an order line item.

PUT method/api/v1/Orders/{orderGuid}/line-items/{orderLineItemGuid}/toggle-paying-customer

Request parameters

{ "payingCustomerId": "73d4fd54-ee66-3d8a-86a0-4cebd154dc0d" }

Responses

{ "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "productId": "cfe72f93-8f57-3f93-8d77-049c4d4e765d", "orderId": "61e9abea-a2ba-3e12-9655-5c135d818e6e", "name": "example", "categoryProductData": { "categoryName": "example", "servingPeriod": "0" }, "quantity": 49, "unitPrice": 99.0, "vatRate": "0", "externalPaymentId": "example", "payingCustomerId": "73d4fd54-ee66-3d8a-86a0-4cebd154dc0d", "isRefunded": false, "isPaid": true, "isCanceled": false, "isAcknowledged": true, "isServed": false, "totalPrice": 55.0, "instructions": "example", "personalizations": [ { "name": "example", "selectedChoices": [ { "name": "example", "price": 1.0 } ] } ] }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
Last modified: 21 May 2024