Get Company Item by SKU
machship_get_item_by_skuRetrieve a saved Machship item by its SKU code and company ID so you can look up product details needed for quoting, shipment creation, or carrier management.
Instructions
Returns a saved item matching the given SKU for a company.
Args:
companyId (number): Company ID
sku (string): Product SKU code
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>",
"sku": "<sku>"
},
"name": "machship_get_item_by_sku"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | Product SKU | |
| companyId | Yes | Company ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |