Update PurchaseOrder record
Update an existing PurchaseOrder record with the provided data. Validates all required fields and business rules.
Path parameters
The number attribute of the record.
The number attribute of the record.
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
Request body
Response
OK
Changes
Changed in 5 of the 14 revisions of this API.2219
- ●
removed the optional property
has_more_linesfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
lines_countfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
update_PurchaseOrderV2_recordremoved and replaced withupdate_PurchaseOrder_recordapi-operation-id-removed
- ○
the response property
itemsbecame required for the status200response-property-became-required
- ○
the
itemsresponse's property default valuewas removed for the status200response-property-default-value-removed
This revision also has 93 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ○
added
GstComponentTypeTaxFamilyto theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed the
CESSenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
CGSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
GSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
HSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
IGSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
PSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
QSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
SGSTenum value from theitems/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ▲
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
- ○
added the new optional request property
items/items/tax/anyOf[subschema #1: ItemTaxData]/tax_metadatanew-optional-request-property
- ○
added the optional property
items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_metadatato the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
itemsbecame optional for the status200response-property-became-optional
- ○
api operation id
update_PurchaseOrder_recordremoved and replaced withupdate_PurchaseOrderV2_recordapi-operation-id-removed
- ○
added the optional property
has_more_linesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lines_countto the response with the200statusresponse-optional-property-added
- ○
the
itemsresponse's property default valuewas added for the status200response-property-default-value-added
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲