Cancel a purchase order
Cancels a purchase order. Cannot cancel orders that are already received or cancelled.
Cancels a purchase order. Cannot cancel orders that are already received or cancelled.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Purchase order ID
Response Body
application/json
curl -X POST "https://example.com/inventory/purchase-orders/550e8400-e29b-41d4-a716-446655440000/cancel"{ "data": { "id": "string", "poNumber": "string", "status": "string", "createdAt": "string", "updatedAt": "string", "property1": null, "property2": null }}Empty
Empty
Empty
Archive a supplier DELETE
Soft-deletes a supplier by marking it as inactive and setting the archived timestamp. The supplier remains in the database for historical reference.
Create an adjustment reason POST
Creates a custom stock adjustment reason for the organization. A unique key is auto-generated from the label if not provided.