Fluxvend Help

Update

POST method/platform/purchase-order/api/v1/{ref}

Update an existing purchase order with the provided details.

This endpoint allows you to modify an existing purchase order, including supplier information, items to be ordered, and any additional attributes.

Note: The purchase order must already exist in the system and be in a draft state to be updated.

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

{ "ref": "example", "message": "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" }
{ "timestamp": "2006-11-23T07:01:03Z", "message": "example", "status": 50, "code": 81, "serverError": "99 INTERNAL", "path": "example" }
Last modified: 13 August 2024