Update purchase order
Changed onEndpoint for updating an existing purchase order.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/purchase-orders/{id}/
- AuthAPI key in header Authorization
Path parameters
Query parameters
Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, branch, contact, contact.persons, line_items, line_items.account, line_items.cost_center, line_items.item, line_items.tax_rate, project. Nested relations are joined with a dot.
Headers
Client-provided UUID to uniquely identify a request
Request body
Response
Changes
- breaking
added to the
request propertyallOflist (media type: application/json) - breaking
added to the
request propertyallOflist (media type: application/x-www-form-urlencoded) - breaking
added to the
request propertyallOflist (media type: multipart/form-data) - breaking
removed the enum value
arof the request property(media type: application/json) - breaking
removed the enum value
arof the request property(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
arof the request property(media type: multipart/form-data) - breaking
removed the enum value
enof the request property(media type: application/json) - breaking
removed the enum value
enof the request property(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
enof the request property(media type: multipart/form-data) - breaking
the
request property type changed fromstringto no type (media type: application/json) - breaking
the
response's property type changed fromstringto no type for status - info
added the new optional
queryrequest parameterexpand - info
the
request property type was generalized fromstringto no type (media type: application/x-www-form-urlencoded) - info
the
request property type was generalized fromstringto no type (media type: multipart/form-data) - info
added to the
response propertyallOflist for the response status - info
removed the
arenum value from theresponse property for the response status - info
removed the
enenum value from theresponse property for the response status
- breaking