Inventory
Inventory
PUT /inventory/{id}
PUT an update to an individual inventory item for a business.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Path parameters
idstring required
Request body
Example request
{
"connection": {
"businessName": "Railz",
"serviceName": "quickbooks"
},
"data": {
"code": "GOL-W",
"type": "inventory",
"subsidiaryRefs": [
"2",
"3hn",
"1t2"
],
"name": "White golf balls.",
"invoiceItem": {
"description": "Item description.",
"unitPrice": 2.5,
"accountRef": "200",
"taxRateRef": "12"
},
"billItem": {
"description": "Item description.",
"unitPrice": 2.5,
"accountRef": "200",
"taxRateRef": "12"
},
"isBillItem": true,
"isInvoiceItem": true
}
}Response
Example response
{
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"businessName": "Railz",
"serviceName": "quickbooks",
"data": {
"code": "GOL-W",
"type": "inventory",
"subsidiaryRefs": [
"2",
"3hn",
"1t2"
],
"name": "White golf balls.",
"invoiceItem": {
"description": "Item description.",
"unitPrice": 2.5,
"accountRef": "200",
"taxRateRef": "12"
},
"billItem": {
"description": "Item description.",
"unitPrice": 2.5,
"accountRef": "200",
"taxRateRef": "12"
},
"isBillItem": true,
"isInvoiceItem": true
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.