Fluxvend Help

Query

POST method/platform/purchase-order/api/v1

Create a new purchase order with the provided details.

This endpoint allows you to submit a new purchase order, including supplier information, items to be ordered, and any additional attributes.

Note: The purchase order will be saved as a draft and will not be sent to the supplier until it is manually approved by an authorized user.

The purchase order will be processed and saved in the system.

Request parameters

{ "externalRef": "EXT12345", "supplier": { "ref": "SUP12345", "name": "Acme Corporation", "email": "supplier@example.com", "phone": "07034567890", "address": "123 Main Street, Anytown, AN 12345, Country" }, "vatRate": 5.0, "dateOrdered": "2024-08-12T00:00Z", "description": "Purchase order for office supplies.", "items": [ { "ref": "example", "quantity": 49, "uom": "example", "unitPrice": 99 } ], "attributes": {} }

Responses

{ "data": { "string": "example" }, "message": "Operation completed successfully." }
{ "timestamp": "2006-11-23T07:01:03Z", "message": "example", "status": 50, "code": 81, "serverError": "99 INTERNAL", "path": "example" }
{ "timestamp": "2006-11-23T07:01:03Z", "message": "example", "status": 50, "code": 81, "serverError": "99 INTERNAL", "path": "example" }
{ "timestamp": "2006-11-23T07:01:03Z", "message": "example", "status": 50, "code": 81, "serverError": "99 INTERNAL", "path": "example" }
Last modified: 13 August 2024