Inventory Tire
WIP: A summary needs to be written for Inventory Tire
GET/v3/inventory_tire/:id
Find Canned Service
Find one Canned Service by id
URL parameters
- Name
id
- Type
- string Required
- Description
- the id for the object to retrieve
200
Response
- Name
data
- Type
- object Required
- Description
- CannedService schema
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Properties for data
object
- Name
id
- Type
- string Required
- Description
- Name
meta
- Type
- object Required
- Description
- the metadata about the most recent change to the row
- Name
metadata
- Type
- object
- Description
- metadata reserved for customers to control
- Name
createdDate
- Type
- string Required
- Description
- Name
updatedDate
- Type
- string Required
- Description
- Name
locationId
- Type
- string Required
- Description
- Name
companyId
- Type
- string Required
- Description
- Name
name
- Type
- string Required
- Description
- Name
note
- Type
- string Required
- Description
- Name
pricingMatrixId
- Type
- string Required
- Description
- Name
pricingMatrixDate
- Type
- string Required
- Description
- datetime when pricingMatrixId was set, for determining if matrix has been changed
- Name
discountCents
- Type
- integer Required
- Description
- Name
discountPercent
- Type
- number Required
- Description
- Name
discountValueType
- Type
- string Required
- Description
- Name
minCriticalQuantity
- Type
- number Required
- Description
- Name
maxCriticalQuantity
- Type
- number Required
- Description
- Name
quantity
- Type
- number Required
- Description
- Name
onEstimateQuantity
- Type
- number Required
- Description
- Name
reservedQuantity
- Type
- number Required
- Description
- Name
availableQuantity
- Type
- number Required
- Description
- Name
reorderQuantity
- Type
- number Required
- Description
- Name
retailCostCents
- Type
- integer Required
- Description
- Name
wholesaleCostCents
- Type
- integer Required
- Description
- Name
sizeFormat
- Type
- string Required
- Description
- Name
size
- Type
- string Required
- Description
- Name
partNumber
- Type
- string Required
- Description
- Name
normalizedPartNumber
- Type
- string Required
- Description
- Name
sku
- Type
- string Required
- Description
- Name
normalizedSKU
- Type
- string Required
- Description
- Name
binLocation
- Type
- string Required
- Description
- Name
taxable
- Type
- boolean Required
- Description
- US specific
- Name
taxableGST
- Type
- boolean Required
- Description
- CA specific
- Name
taxableHST
- Type
- boolean Required
- Description
- CA specific
- Name
taxablePST
- Type
- boolean Required
- Description
- CA specific
- Name
showPartNumber
- Type
- boolean Required
- Description
- show number on estimate & invoice ///
- Name
showPriceAndQuantity
- Type
- boolean Required
- Description
- show on estimates and invoices ///
- Name
showNote
- Type
- boolean Required
- Description
- show note on estimates & invoices ///
- Name
federalExciseTaxCents
- Type
- integer Required
- Description
- Name
wasteTireFeeCents
- Type
- integer Required
- Description
- Name
inventoryNumber
- Type
- string Required
- Description
- Name
tireModelId
- Type
- string Required
- Description
- Name
categoryType
- Type
- string Required
- Description
- AT, XL ...
- Name
loadRange
- Type
- string Required
- Description
- Name
serviceType
- Type
- string Required
- Description
- Name
construction
- Type
- string Required
- Description
- Name
isStudded
- Type
- boolean Required
- Description
- Name
isRunFlat
- Type
- boolean Required
- Description
- Name
sectionWidthUnit
- Type
- string Required
- Description
- Name
sectionWidthValue
- Type
- number Required
- Description
- Name
sidewallAspectValue
- Type
- number Required
- Description
- Name
wheelDiameterUnit
- Type
- string Required
- Description
- Name
wheelDiameterValue
- Type
- number Required
- Description
- Name
loadIndex
- Type
- integer Required
- Description
- Name
speedRating
- Type
- string Required
- Description
- Name
outerDiameterUnit
- Type
- string Required
- Description
- Name
outerDiameterValue
- Type
- number Required
- Description
- Name
treadDepthUnit
- Type
- string Required
- Description
- Name
treadDepthValue
- Type
- number Required
- Description
- Name
maxTirePressurePSI
- Type
- number Required
- Description
- Name
traction_UTQG
- Type
- string Required
- Description
- Name
temperature_UTQG
- Type
- string Required
- Description
- Name
treadWear_UTQG
- Type
- number Required
- Description
- Name
deleted
- Type
- boolean Required
- Description
- if the record has been deleted
- Name
deletedUserId
- Type
- string Required
- Description
- the user that deleted the record or null if not deleted
- Name
deletedDate
- Type
- string Required
- Description
- the date that the record was deleted or null if not deleted
- Name
deletedReason
- Type
- string Required
- Description
- the reason that the record was deleted
- Name
userId
- Type
- string Required
- Description
- Name
tireModel
- Type
- object
- Description
- TireModel schema
Properties for meta
object
- Name
userId
- Type
- string
- Description
- the user id that made the most recent change
- Name
sessionId
- Type
- string
- Description
- the session id for the most recent change
- Name
version
- Type
- number
- Description
- a monotonically increasing number for the most recent change
Properties for tireModel
object
- Name
id
- Type
- string Required
- Description
- Name
name
- Type
- string Required
- Description
- Name
seasonality
- Type
- string Required
- Description
- Name
category
- Type
- object Required
- Description
- Name
vendor
- Type
- object Required
- Description
- Name
brand
- Type
- object Required
- Description
Properties for category
object
- Name
id
- Type
- string Required
- Description
- the id for the category
- Name
name
- Type
- string Required
- Description
- the category name
- Name
parent
- Type
- object Required
- Description
Properties for parent
object
- Name
id
- Type
- string Required
- Description
- the id for the parent category
- Name
name
- Type
- string Required
- Description
- the name of the parent category
Properties for vendor
object
- Name
id
- Type
- string Required
- Description
- the id for the vendor
- Name
name
- Type
- string Required
- Description
- the name
Properties for brand
object
- Name
id
- Type
- string Required
- Description
- the id for the brand
- Name
name
- Type
- string Required
- Description
- the name
4xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
5xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Example Request
GET
/v3/inventory_tire/:idcurl https://api.shopmonkey.cloud/v3/inventory_tire/ID \
-H "Authorization: Bearer ${SM_TOKEN}"
Example Responseapplication/json
{
"success": true,
"data": {
"id": "id",
"meta": {
"userId": "userId",
"sessionId": "sessionId",
"version": 1
},
"createdDate": "createdDate",
"updatedDate": null,
"locationId": "locationId",
"companyId": "companyId",
"name": "name",
"note": null,
"pricingMatrixId": null,
"pricingMatrixDate": null,
"discountCents": 1,
"discountPercent": 1,
"discountValueType": "discountValueType",
"quantity": 1,
"retailCostCents": 1,
"wholesaleCostCents": null,
"sizeFormat": "sizeFormat",
"size": null,
"partNumber": null,
"binLocation": null,
"brandId": null,
"model": null,
"vendorId": null,
"seasonality": null,
"taxable": true,
"showPartNumber": true,
"showPriceAndQuantity": true,
"showNote": true,
"categoryId": null,
"federalExciseTaxCents": 1,
"wasteTireFeeCents": 1,
"inventoryNumber": null,
"categoryType": null,
"loadRange": null,
"serviceType": null,
"construction": null,
"isStudded": true,
"isRunFlat": true,
"sectionWidthUnit": "sectionWidthUnit",
"sectionWidthValue": null,
"sidewallAspectValue": null,
"wheelDiameterUnit": "wheelDiameterUnit",
"wheelDiameterValue": null,
"loadIndex": null,
"speedRating": null,
"outerDiameterUnit": "outerDiameterUnit",
"outerDiameterValue": null,
"treadDepthUnit": "treadDepthUnit",
"treadDepthValue": null,
"maxTirePressurePSI": null,
"traction_UTQG": null,
"temperature_UTQG": null,
"treadWear_UTQG": null,
"deleted": true,
"deletedUserId": null,
"deletedDate": null,
"deletedReason": null,
"userId": null
}
}
GET/v3/inventory_tire
List Canned Services
Find all Canned Services
200
Response
- Name
data
- Type
- array Required
- Description
- an array of items
- Name
meta
- Type
- object
- Description
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Properties for meta
object
- Name
hasMore
- Type
- boolean Required
- Description
- if there are more records available
- Name
total
- Type
- number Required
- Description
- the total number of records
4xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
5xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Example Request
GET
/v3/inventory_tirecurl https://api.shopmonkey.cloud/v3/inventory_tire \
-H "Authorization: Bearer ${SM_TOKEN}"
Example Responseapplication/json
{
"success": true,
"data": [
{
"id": "id",
"createdDate": "createdDate",
"updatedDate": null,
"locationId": "locationId",
"companyId": "companyId",
"name": "name",
"note": null,
"pricingMatrixId": null,
"pricingMatrixDate": null,
"discountCents": 1,
"discountPercent": 1,
"discountValueType": "discountValueType",
"quantity": 1,
"retailCostCents": 1,
"wholesaleCostCents": null,
"sizeFormat": "sizeFormat",
"size": null,
"partNumber": null,
"binLocation": null,
"brandId": null,
"model": null,
"vendorId": null,
"seasonality": null,
"taxable": true,
"showPartNumber": true,
"showPriceAndQuantity": true,
"showNote": true,
"categoryId": null,
"federalExciseTaxCents": 1,
"wasteTireFeeCents": 1,
"inventoryNumber": null,
"categoryType": null,
"loadRange": null,
"serviceType": null,
"construction": null,
"isStudded": true,
"isRunFlat": true,
"sectionWidthUnit": "sectionWidthUnit",
"sectionWidthValue": null,
"sidewallAspectValue": null,
"wheelDiameterUnit": "wheelDiameterUnit",
"wheelDiameterValue": null,
"loadIndex": null,
"speedRating": null,
"outerDiameterUnit": "outerDiameterUnit",
"outerDiameterValue": null,
"treadDepthUnit": "treadDepthUnit",
"treadDepthValue": null,
"maxTirePressurePSI": null,
"traction_UTQG": null,
"temperature_UTQG": null,
"treadWear_UTQG": null,
"deleted": true,
"deletedUserId": null,
"deletedDate": null,
"deletedReason": null,
"userId": null
}
]
}
POST/v3/inventory_tire
Create Inventory Tire
Create an Inventory Tire
Body parameters
- Name
locationId
- Type
- string
- Description
- Name
name
- Type
- string
- Description
- Name
note
- Type
- string
- Description
- Name
pricingMatrixId
- Type
- string
- Description
- Name
discountCents
- Type
- integer
- Description
- Name
discountPercent
- Type
- number
- Description
- Name
discountValueType
- Type
- string
- Description
- Name
minCriticalQuantity
- Type
- number
- Description
- Name
maxCriticalQuantity
- Type
- number
- Description
- Name
quantity
- Type
- number
- Description
- Name
retailCostCents
- Type
- integer
- Description
- Name
wholesaleCostCents
- Type
- integer
- Description
- Name
sizeFormat
- Type
- string
- Description
- Name
size
- Type
- string
- Description
- Name
partNumber
- Type
- string
- Description
- Name
sku
- Type
- string
- Description
- Name
binLocation
- Type
- string
- Description
- Name
taxable
- Type
- boolean
- Description
- US specific
- Name
taxableGST
- Type
- boolean
- Description
- CA specific
- Name
taxableHST
- Type
- boolean
- Description
- CA specific
- Name
taxablePST
- Type
- boolean
- Description
- CA specific
- Name
showPartNumber
- Type
- boolean
- Description
- show number on estimate & invoice ///
- Name
showPriceAndQuantity
- Type
- boolean
- Description
- show on estimates and invoices ///
- Name
showNote
- Type
- boolean
- Description
- show note on estimates & invoices ///
- Name
federalExciseTaxCents
- Type
- integer
- Description
- Name
wasteTireFeeCents
- Type
- integer
- Description
- Name
inventoryNumber
- Type
- string
- Description
- Name
tireModelId
- Type
- string Required
- Description
- Name
categoryType
- Type
- string
- Description
- AT, XL ...
- Name
loadRange
- Type
- string
- Description
- Name
serviceType
- Type
- string
- Description
- Name
construction
- Type
- string
- Description
- Name
isStudded
- Type
- boolean
- Description
- Name
isRunFlat
- Type
- boolean
- Description
- Name
sectionWidthUnit
- Type
- string
- Description
- Name
sectionWidthValue
- Type
- number
- Description
- Name
sidewallAspectValue
- Type
- number
- Description
- Name
wheelDiameterUnit
- Type
- string
- Description
- Name
wheelDiameterValue
- Type
- number
- Description
- Name
loadIndex
- Type
- integer
- Description
- Name
speedRating
- Type
- string
- Description
- Name
outerDiameterUnit
- Type
- string
- Description
- Name
outerDiameterValue
- Type
- number
- Description
- Name
treadDepthUnit
- Type
- string
- Description
- Name
treadDepthValue
- Type
- number
- Description
- Name
maxTirePressurePSI
- Type
- number
- Description
- Name
traction_UTQG
- Type
- string
- Description
- Name
temperature_UTQG
- Type
- string
- Description
- Name
treadWear_UTQG
- Type
- number
- Description
- Name
deleted
- Type
- boolean
- Description
- if the record has been deleted
- Name
deletedUserId
- Type
- string
- Description
- the user that deleted the record or null if not deleted
- Name
deletedReason
- Type
- string
- Description
- the reason that the record was deleted
- Name
userId
- Type
- string
- Description
200
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
- Name
data
- Type
- object Required
- Description
- InventoryTire schema
Properties for data
object
- Name
id
- Type
- string Required
- Description
- Name
createdDate
- Type
- string Required
- Description
- Name
updatedDate
- Type
- string Required
- Description
- Name
locationId
- Type
- string Required
- Description
- Name
companyId
- Type
- string Required
- Description
- Name
name
- Type
- string Required
- Description
- Name
note
- Type
- string Required
- Description
- Name
pricingMatrixId
- Type
- string Required
- Description
- Name
pricingMatrixDate
- Type
- string Required
- Description
- datetime when pricingMatrixId was set, for determining if matrix has been changed
- Name
discountCents
- Type
- integer Required
- Description
- Name
discountPercent
- Type
- number Required
- Description
- Name
discountValueType
- Type
- string Required
- Description
- Name
minCriticalQuantity
- Type
- number Required
- Description
- Name
maxCriticalQuantity
- Type
- number Required
- Description
- Name
quantity
- Type
- number Required
- Description
- Name
onEstimateQuantity
- Type
- number Required
- Description
- Name
reservedQuantity
- Type
- number Required
- Description
- Name
availableQuantity
- Type
- number Required
- Description
- Name
reorderQuantity
- Type
- number Required
- Description
- Name
retailCostCents
- Type
- integer Required
- Description
- Name
wholesaleCostCents
- Type
- integer Required
- Description
- Name
sizeFormat
- Type
- string Required
- Description
- Name
size
- Type
- string Required
- Description
- Name
partNumber
- Type
- string Required
- Description
- Name
normalizedPartNumber
- Type
- string Required
- Description
- Name
sku
- Type
- string Required
- Description
- Name
normalizedSKU
- Type
- string Required
- Description
- Name
binLocation
- Type
- string Required
- Description
- Name
taxable
- Type
- boolean Required
- Description
- US specific
- Name
taxableGST
- Type
- boolean Required
- Description
- CA specific
- Name
taxableHST
- Type
- boolean Required
- Description
- CA specific
- Name
taxablePST
- Type
- boolean Required
- Description
- CA specific
- Name
showPartNumber
- Type
- boolean Required
- Description
- show number on estimate & invoice ///
- Name
showPriceAndQuantity
- Type
- boolean Required
- Description
- show on estimates and invoices ///
- Name
showNote
- Type
- boolean Required
- Description
- show note on estimates & invoices ///
- Name
federalExciseTaxCents
- Type
- integer Required
- Description
- Name
wasteTireFeeCents
- Type
- integer Required
- Description
- Name
inventoryNumber
- Type
- string Required
- Description
- Name
tireModelId
- Type
- string Required
- Description
- Name
categoryType
- Type
- string Required
- Description
- AT, XL ...
- Name
loadRange
- Type
- string Required
- Description
- Name
serviceType
- Type
- string Required
- Description
- Name
construction
- Type
- string Required
- Description
- Name
isStudded
- Type
- boolean Required
- Description
- Name
isRunFlat
- Type
- boolean Required
- Description
- Name
sectionWidthUnit
- Type
- string Required
- Description
- Name
sectionWidthValue
- Type
- number Required
- Description
- Name
sidewallAspectValue
- Type
- number Required
- Description
- Name
wheelDiameterUnit
- Type
- string Required
- Description
- Name
wheelDiameterValue
- Type
- number Required
- Description
- Name
loadIndex
- Type
- integer Required
- Description
- Name
speedRating
- Type
- string Required
- Description
- Name
outerDiameterUnit
- Type
- string Required
- Description
- Name
outerDiameterValue
- Type
- number Required
- Description
- Name
treadDepthUnit
- Type
- string Required
- Description
- Name
treadDepthValue
- Type
- number Required
- Description
- Name
maxTirePressurePSI
- Type
- number Required
- Description
- Name
traction_UTQG
- Type
- string Required
- Description
- Name
temperature_UTQG
- Type
- string Required
- Description
- Name
treadWear_UTQG
- Type
- number Required
- Description
- Name
deleted
- Type
- boolean Required
- Description
- if the record has been deleted
- Name
deletedUserId
- Type
- string Required
- Description
- the user that deleted the record or null if not deleted
- Name
deletedDate
- Type
- string Required
- Description
- the date that the record was deleted or null if not deleted
- Name
deletedReason
- Type
- string Required
- Description
- the reason that the record was deleted
- Name
userId
- Type
- string Required
- Description
4xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
5xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Example Requestapplication/json
POST
/v3/inventory_tirecurl https://api.shopmonkey.cloud/v3/inventory_tire \
-H "Authorization: Bearer ${SM_TOKEN}" \
-X POST -H 'Content-Type: application/json' \
--data '{ "tireModelId" : "value" }'
Example Responseapplication/json
{
"success": true,
"data": {
"id": "id",
"createdDate": "createdDate",
"updatedDate": null,
"locationId": "locationId",
"companyId": "companyId",
"name": "name",
"note": null,
"pricingMatrixId": null,
"pricingMatrixDate": null,
"discountCents": 1,
"discountPercent": 1,
"discountValueType": "discountValueType",
"quantity": 1,
"retailCostCents": 1,
"wholesaleCostCents": null,
"sizeFormat": "sizeFormat",
"size": null,
"partNumber": null,
"binLocation": null,
"brandId": null,
"model": null,
"vendorId": null,
"seasonality": null,
"taxable": true,
"showPartNumber": true,
"showPriceAndQuantity": true,
"showNote": true,
"categoryId": null,
"federalExciseTaxCents": 1,
"wasteTireFeeCents": 1,
"inventoryNumber": null,
"categoryType": null,
"loadRange": null,
"serviceType": null,
"construction": null,
"isStudded": true,
"isRunFlat": true,
"sectionWidthUnit": "sectionWidthUnit",
"sectionWidthValue": null,
"sidewallAspectValue": null,
"wheelDiameterUnit": "wheelDiameterUnit",
"wheelDiameterValue": null,
"loadIndex": null,
"speedRating": null,
"outerDiameterUnit": "outerDiameterUnit",
"outerDiameterValue": null,
"treadDepthUnit": "treadDepthUnit",
"treadDepthValue": null,
"maxTirePressurePSI": null,
"traction_UTQG": null,
"temperature_UTQG": null,
"treadWear_UTQG": null,
"deleted": true,
"deletedUserId": null,
"deletedDate": null,
"deletedReason": null,
"userId": null
}
}
DELETE/v3/inventory_tire/:id
Delete Inventory Tire
Permanently delete a Inventory Tire by id
URL parameters
- Name
id
- Type
- string Required
- Description
- the id of the record to delete
200
Response
- Name
data
- Type
- object
- Description
- Name
success
- Type
- boolean Required
- Description
Properties for data
object
- Name
id
- Type
- string Required
- Description
- the id for the object
4xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
5xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Example Requestapplication/json
DELETE
/v3/inventory_tire/:idcurl https://api.shopmonkey.cloud/v3/inventory_tire/ID \
-H "Authorization: Bearer ${SM_TOKEN}" \
-X DELETE -H 'Content-Type: application/json' \
--data '{}'
Example Responseapplication/json
{
"success": true
}
PATCH/v3/inventory_tire/:id/:action
Soft Delete Inventory Tire
Soft delete or undelete a Inventory Tire by id
URL parameters
- Name
action
- Type
- one of: 'delete', 'undelete' Required
- Description
- the action to take
- Name
id
- Type
- string Required
- Description
- primary key for the record
Body parameters
- Name
reason
- Type
- string Required
- Description
- the reason message if deleted
200
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
- Name
data
- Type
- object Required
- Description
- InventoryTire schema
Properties for data
object
- Name
id
- Type
- string Required
- Description
- Name
createdDate
- Type
- string Required
- Description
- Name
updatedDate
- Type
- string Required
- Description
- Name
locationId
- Type
- string Required
- Description
- Name
companyId
- Type
- string Required
- Description
- Name
name
- Type
- string Required
- Description
- Name
note
- Type
- string Required
- Description
- Name
pricingMatrixId
- Type
- string Required
- Description
- Name
pricingMatrixDate
- Type
- string Required
- Description
- datetime when pricingMatrixId was set, for determining if matrix has been changed
- Name
discountCents
- Type
- integer Required
- Description
- Name
discountPercent
- Type
- number Required
- Description
- Name
discountValueType
- Type
- string Required
- Description
- Name
minCriticalQuantity
- Type
- number Required
- Description
- Name
maxCriticalQuantity
- Type
- number Required
- Description
- Name
quantity
- Type
- number Required
- Description
- Name
onEstimateQuantity
- Type
- number Required
- Description
- Name
reservedQuantity
- Type
- number Required
- Description
- Name
availableQuantity
- Type
- number Required
- Description
- Name
reorderQuantity
- Type
- number Required
- Description
- Name
retailCostCents
- Type
- integer Required
- Description
- Name
wholesaleCostCents
- Type
- integer Required
- Description
- Name
sizeFormat
- Type
- string Required
- Description
- Name
size
- Type
- string Required
- Description
- Name
partNumber
- Type
- string Required
- Description
- Name
normalizedPartNumber
- Type
- string Required
- Description
- Name
sku
- Type
- string Required
- Description
- Name
normalizedSKU
- Type
- string Required
- Description
- Name
binLocation
- Type
- string Required
- Description
- Name
taxable
- Type
- boolean Required
- Description
- US specific
- Name
taxableGST
- Type
- boolean Required
- Description
- CA specific
- Name
taxableHST
- Type
- boolean Required
- Description
- CA specific
- Name
taxablePST
- Type
- boolean Required
- Description
- CA specific
- Name
showPartNumber
- Type
- boolean Required
- Description
- show number on estimate & invoice ///
- Name
showPriceAndQuantity
- Type
- boolean Required
- Description
- show on estimates and invoices ///
- Name
showNote
- Type
- boolean Required
- Description
- show note on estimates & invoices ///
- Name
federalExciseTaxCents
- Type
- integer Required
- Description
- Name
wasteTireFeeCents
- Type
- integer Required
- Description
- Name
inventoryNumber
- Type
- string Required
- Description
- Name
tireModelId
- Type
- string Required
- Description
- Name
categoryType
- Type
- string Required
- Description
- AT, XL ...
- Name
loadRange
- Type
- string Required
- Description
- Name
serviceType
- Type
- string Required
- Description
- Name
construction
- Type
- string Required
- Description
- Name
isStudded
- Type
- boolean Required
- Description
- Name
isRunFlat
- Type
- boolean Required
- Description
- Name
sectionWidthUnit
- Type
- string Required
- Description
- Name
sectionWidthValue
- Type
- number Required
- Description
- Name
sidewallAspectValue
- Type
- number Required
- Description
- Name
wheelDiameterUnit
- Type
- string Required
- Description
- Name
wheelDiameterValue
- Type
- number Required
- Description
- Name
loadIndex
- Type
- integer Required
- Description
- Name
speedRating
- Type
- string Required
- Description
- Name
outerDiameterUnit
- Type
- string Required
- Description
- Name
outerDiameterValue
- Type
- number Required
- Description
- Name
treadDepthUnit
- Type
- string Required
- Description
- Name
treadDepthValue
- Type
- number Required
- Description
- Name
maxTirePressurePSI
- Type
- number Required
- Description
- Name
traction_UTQG
- Type
- string Required
- Description
- Name
temperature_UTQG
- Type
- string Required
- Description
- Name
treadWear_UTQG
- Type
- number Required
- Description
- Name
deleted
- Type
- boolean Required
- Description
- if the record has been deleted
- Name
deletedUserId
- Type
- string Required
- Description
- the user that deleted the record or null if not deleted
- Name
deletedDate
- Type
- string Required
- Description
- the date that the record was deleted or null if not deleted
- Name
deletedReason
- Type
- string Required
- Description
- the reason that the record was deleted
- Name
userId
- Type
- string Required
- Description
4xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
5xx
Response
- Name
code
- Type
- string
- Description
- The error code
- Name
documentation_url
- Type
- string
- Description
- An optional link to the documentation for the error
- Name
message
- Type
- string
- Description
- the error message if not successful
- Name
success
- Type
- boolean Required
- Description
- if successful, will be true. if not successful, will be false and message will contain a human readable error message
Example Requestapplication/json
PATCH
/v3/inventory_tire/:id/:actioncurl https://api.shopmonkey.cloud/v3/inventory_tire/ID/ACTION \
-H "Authorization: Bearer ${SM_TOKEN}" \
-X PATCH -H 'Content-Type: application/json' \
--data '{ "reason" : "value" }'
Example Responseapplication/json
{
"success": true,
"data": {
"locationId": "locationId",
"name": "name",
"note": null,
"pricingMatrixId": null,
"pricingMatrixDate": null,
"discountCents": 1,
"discountPercent": 1,
"discountValueType": "discountValueType",
"quantity": 1,
"retailCostCents": 1,
"wholesaleCostCents": null,
"sizeFormat": "sizeFormat",
"size": null,
"partNumber": null,
"binLocation": null,
"brandId": null,
"model": null,
"vendorId": null,
"seasonality": null,
"taxable": true,
"showPartNumber": true,
"showPriceAndQuantity": true,
"showNote": true,
"categoryId": null,
"federalExciseTaxCents": 1,
"wasteTireFeeCents": 1,
"inventoryNumber": null,
"categoryType": null,
"loadRange": null,
"serviceType": null,
"construction": null,
"isStudded": true,
"isRunFlat": true,
"sectionWidthUnit": "sectionWidthUnit",
"sectionWidthValue": null,
"sidewallAspectValue": null,
"wheelDiameterUnit": "wheelDiameterUnit",
"wheelDiameterValue": null,
"loadIndex": null,
"speedRating": null,
"outerDiameterUnit": "outerDiameterUnit",
"outerDiameterValue": null,
"treadDepthUnit": "treadDepthUnit",
"treadDepthValue": null,
"maxTirePressurePSI": null,
"traction_UTQG": null,
"temperature_UTQG": null,
"treadWear_UTQG": null,
"deleted": true,
"deletedUserId": null,
"deletedDate": null,
"deletedReason": null,
"userId": null
}
}