Update VendorCredit record
Update an existing VendorCredit 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 6 of the 15 revisions of this API.4439
- ●
removed the optional property
expenses_countfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
expenses_has_morefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items_countfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items_has_morefrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
update_VendorCreditV2_recordremoved and replaced withupdate_VendorCredit_recordapi-operation-id-removed
- ○
the response property
expensesbecame required for the status200response-property-became-required
- ○
the response property
itemsbecame required for the status200response-property-became-required
- ○
the
expensesresponse's property default valuewas removed for the status200response-property-default-value-removed
- ○
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
expenses/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ▲
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 theexpenses/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
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 theexpenses/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_typeresponse property for the response status200response-property-enum-value-removed
- ○
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 theexpenses/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 theexpenses/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 theexpenses/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 theexpenses/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 theexpenses/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 theexpenses/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 theexpenses/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
expenses/items/company_idnew-optional-request-property
- ○
added the new optional request property
items/items/company_idnew-optional-request-property
- ○
added the optional property
expenses/items/company_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/company_idto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional request property
expenses/items/tax/anyOf[subschema #1: ItemTaxData]/tax_metadatanew-optional-request-property
- ○
added the new optional request property
items/items/tax/anyOf[subschema #1: ItemTaxData]/tax_metadatanew-optional-request-property
- ○
added the optional property
expenses/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_metadatato the response with the200statusresponse-optional-property-added
- ○
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
expensesbecame optional for the status200response-property-became-optional
- ▲
the response property
itemsbecame optional for the status200response-property-became-optional
- ○
api operation id
update_VendorCredit_recordremoved and replaced withupdate_VendorCreditV2_recordapi-operation-id-removed
- ○
added the optional property
expenses_countto the response with the200statusresponse-optional-property-added
- ○
added the optional property
expenses_has_moreto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items_countto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items_has_moreto the response with the200statusresponse-optional-property-added
- ○
the
expensesresponse's property default valuewas added for the status200response-property-default-value-added
- ○
the
itemsresponse's property default valuewas added for the status200response-property-default-value-added
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲