Download OpenAPI specification:Download
The ISOlocity API can be used to create, update and query select data within the ISOlocity platform.
{- "status": "success",
- "version": "2.0.0",
- "online": true
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 1,
- "name": "Test Company",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "ABC Manufacturing Inc.",
- "primary_email": "johnsmith@abc.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
name | string |
primary_name | string |
primary_email | string |
primary_phone | string |
primary_position | string |
secondary_name | string |
secondary_email | string |
secondary_phone | string |
secondary_position | string |
notes | string |
{- "name": "ABC Manufacturing Inc.",
- "primary_name": "John Smith",
- "primary_email": "johnsmith@abc.com",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_name": "Jane Smith",
- "secondary_email": "janesmith@abc.com",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "notes": "These are some sample notes for the supplier"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "ABC Manufacturing Inc.",
- "primary_email": "johnsmith@abc.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the supplier to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "ABC Manufacturing Inc.",
- "primary_email": "johnsmith@abc.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the supplier to update |
name | string |
primary_name | string |
primary_email | string |
primary_phone | string |
primary_position | string |
secondary_name | string |
secondary_email | string |
secondary_phone | string |
secondary_position | string |
notes | string |
{- "name": "ABC Manufacturing Inc.",
- "primary_name": "John Smith",
- "primary_email": "johnsmith@abc.com",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_name": "Jane Smith",
- "secondary_email": "janesmith@abc.com",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "notes": "These are some sample notes for the supplier"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "ABC Manufacturing Inc.",
- "primary_email": "johnsmith@abc.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Project Manager",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "Project Lead",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
part_id | any Examples:
Optional: Search by part id (If this is active, you cannot search by name) |
keyword | any Examples:
Optional: Search by keyword (Default null) |
{- "status": "success",
- "message": "The request was successful",
- "data": [
- {
- "id": 26137,
- "company_id": 1,
- "part_id": 10597,
- "name": "RAWINGREDIENT",
- "identification": "RAWINGREDIENT",
- "inventory_name": "RAWINGREDIENT - RAWINGREDIENT",
- "quantity": 5,
- "unit_of_measure": "string",
- "cost": 8,
- "value_on_hand": 40,
- "is_finished_product": true,
- "reorder_point": "0.00000000",
- "is_expiry_soon": ""
}
], - "links": {
}, - "meta": {
- "current_page": 2,
- "from": 101,
- "last_page": 5,
- "per_page": "100",
- "to": 200,
- "total": 493
}
}
id required | integer The ID of the inventory to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 26137,
- "company_id": 1,
- "part_id": 10597,
- "batch_number": "Retention Samples",
- "quantity": 0,
- "is_locked": true,
- "is_legacy": false,
- "location": "string",
- "created_at": "2022-01-12 10:53:18",
- "updated_at": "2022-01-12 10:53:18",
- "value_on_hand": 0,
- "location_list": "string",
- "cost": 8,
- "location_id": "string",
- "legacy_record_id": 5627,
- "related_batch_numbers": [
- "Retention Samples",
- "test123",
- null
], - "nearest_expiry_date": "string",
- "part": { }
}
}
id required | integer The inventory id to get linked to locations |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 26137,
- "company_id": 1,
- "part_id": 10597,
- "batch_number": "Retention Samples",
- "quantity": 0,
- "is_locked": true,
- "is_legacy": false,
- "location": "string",
- "created_at": "2022-01-12 10:53:18",
- "updated_at": "2022-01-12 10:53:18",
- "value_on_hand": 0,
- "location_list": "string",
- "cost": 8,
- "location_id": "string",
- "legacy_record_id": 5627,
- "related_batch_numbers": [
- "Retention Samples",
- "test123",
- null
], - "locations": [
- {
- "id": 26137,
- "name": "Location 1",
- "is_active": 1
}
], - "nearest_expiry_date": "string",
- "part": { }
}
}
page | integer Example: page=1 The current page of data |
keyword | string Example: keyword=lot number A keyword to search for in the NCRs |
status | string Example: status=Open The status of the NCRs to filter by |
source | string Example: source=Internal The source of the NCRs to filter by |
{- "status": "success",
- "message": "The request was successful",
- "data": [
- {
- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
], - "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}
}
ncr_number required | string |
source required | string Enum: "internal" "customer" "supplier" |
lot_number | string |
quantity | integer |
description | string |
immediate_action | string |
is_root_cause_determined | boolean |
has_incomplete_action_items | boolean |
has_unread_notes | boolean |
part_id | string |
{- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": {
- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
}
id required | integer The ID of the NCR to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
}
id required | integer <int64> The id of the Ncr to update |
ncr_number | string Report number |
source | string Report source (Options "Internal", "Customer", "Supplier") |
esignature_password | string Only if required setting is turned on |
esignature_reason | string Only if required reason setting is turned on |
lot_number | string Lot number |
quantity | integer Quantity |
description | string Description |
immediate_action | string Immediate action description |
is_root_cause_determined | boolean Is root cause determined (bool) |
has_incomplete_action_items | boolean Has incmplete actions (bool) |
has_unread_notes | boolean Has unread notes (bool) |
part_id | integer <int64> |
{- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "esignature_password": 12345,
- "esignature_reason": "New data",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": {
- "ncr_number": "jan_16_2023_2",
- "source": "internal",
- "lot_number": "lot_12345",
- "quantity": 10,
- "description": "Test description",
- "immediate_action": "Test immediate action",
- "is_root_cause_determined": false,
- "has_incomplete_action_items": false,
- "has_unread_notes": false,
- "part_id": 10922
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
]
}
po_number | string PO customer number |
contact_id | integer Customer id |
order_date | string Order date yyyy-mm-dd |
serial_number | string Lot |
order_number | integer Order number |
is_closed | boolean If order is closed. Default false |
{- "po_number": "jan12_2023_1",
- "contact_id": 616,
- "order_date": "2023-01-12T00:00:00.000Z",
- "serial_number": 123456789999,
- "order_number": 1324354657,
- "is_closed": false
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id required | integer The ID of the order to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id required | integer The ID of the order to update |
po_number | string PO customer number |
contact_id | integer Customer id |
order_date | string Order date yyyy-mm-dd |
serial_number | string Lot |
order_number | integer Order number |
is_closed | boolean If order is closed. Default false |
{- "po_number": "jan12_2023_1",
- "contact_id": 616,
- "order_date": "2023-01-12T00:00:00.000Z",
- "serial_number": 123456789999,
- "order_number": 1324354657,
- "is_closed": false
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
name | string |
company_id | integer |
is_activity | boolean If is a part set this as false, activity true |
identification | string |
is_finished_product | boolean |
batch_ids | Array of strings |
supplier_id | integer |
parent_part_id | integer |
unit_type | string |
unit_of_measure | string |
density | number |
density_mass_unit | string |
density_volume_unit | string |
{- "name": "Blue Juice (500 mL)",
- "company_id": 1,
- "is_activity": false,
- "identification": "BJUICE500",
- "is_finished_product": true,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "supplier_id": 123,
- "parent_part_id": 123,
- "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the part to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the part to update |
name | string |
identification | string |
{- "name": "Blue Juice (500 mL)",
- "identification": "BJUICE500"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
name required | string |
company_id | integer |
identification required | string |
is_activity | boolean |
is_finished_product | boolean |
batch_ids | Array of strings |
supplier_id | integer |
parent_part_id | integer |
unit_type | string |
unit_of_measure | string |
density | number |
density_mass_unit | string |
density_volume_unit | string |
[- {
- "name": "Blue Juice (500 mL)",
- "company_id": 1,
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "supplier_id": 123,
- "parent_part_id": 123,
- "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml"
}
]
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
id | integer |
name required | string |
identification required | string |
is_activity | boolean If is a part set this as false, activity true |
is_finished_product | boolean Default: true |
supplier_id | integer |
parent_part_id | integer |
batch_ids | array |
unit_type | string Enum: "Volume" "Mass" "Length" |
unit_of_measure | string Enum: "gal" "cup" "tsp" "l" "ml" "g" "kg" "lb" "t" "oz" "st" "m" "ft" "in" "yd" "cm" "mm" "units" |
density | number |
density_mass_unit | string Enum: "g" "kg" "lb" "t" "oz" "st" |
density_volume_unit | string Enum: "gal" "cup" "tsp" "l" "ml" |
created_at | string <date-time> |
updated_at | string <date-time> |
[- {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Blue Juice (500 mL).",
- "identification": "BJUICE500",
- "is_activity": false,
- "is_finished_product": true,
- "supplier_id": 123,
- "parent_part_id": 123,
- "batch_ids": [
- "BATCH123",
- "BATCH456"
], - "unit_type": "Volume",
- "unit_of_measure": "ml",
- "density": 0.314,
- "density_mass_unit": "g",
- "density_volume_unit": "ml",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}
}
id | string <integer> |
entity_id | string <integer> Id of inspection entity. For example id of part |
entity_type | string Entity type part or equipment. Most cases is part |
drawing_id | string <integer> Id of the template used by inspection |
sample_size | integer Quantity of samples in inspection. Minimum 1 |
is_create_batch_records | boolean If needs to create natch record. Recommended set to true |
passed | boolean Is inspection finalized, passed or not started. If not started set as null |
{- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}
}
id required | integer The ID of the inspection to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}
}
id required | integer The ID of the inspection which will be updated |
passed | boolean Is inspection finalized, passed or not started. If not started set as null |
{- "passed": true
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}
}
id required | integer The ID of the inspection to add sample to |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true,
- "samples": [
- {
- "id": 13147,
- "sample_number": 5,
- "sample_serial": 12345,
- "results": [
- {
- "id": 53488,
- "order": 1
}
]
}
]
}
}
id required | integer The ID of the inspection containing the sample |
sample_id required | integer The ID of the sample |
sample_serial | string The serial string that identifies the sample |
sample_number | integer The number reference of sample. If there are 6 samples in inspection, one could be 5 |
Array of objects[ items ] All characteristics contained in this sample |
{- "sample_serial": "string",
- "sample_number": 5,
- "results": [
- {
- "id": 53488,
- "order": 1
}
]
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true,
- "samples": [
- {
- "id": 13147,
- "sample_number": 5,
- "sample_serial": 12345,
- "results": [
- {
- "id": 53488,
- "order": 1
}
]
}
]
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "car_number": "AUD-151",
- "initiator_name": "John Smith",
- "date_opened": "2019-01-01",
- "date_closed": "2019-01-03",
- "po_number": "PO123456",
- "source": "Supplier",
- "description": { },
- "type": "Audit",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
{- "car_number": "AUD-151"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "car_number": "AUD-151",
- "initiator_name": "John Smith",
- "date_opened": "2019-01-01",
- "date_closed": "2019-01-03",
- "po_number": "PO123456",
- "source": "Supplier",
- "description": { },
- "type": "Audit",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the CAR to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "car_number": "AUD-151",
- "initiator_name": "John Smith",
- "date_opened": "2019-01-01",
- "date_closed": "2019-01-03",
- "po_number": "PO123456",
- "source": "Supplier",
- "description": { },
- "type": "Audit",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the CAR to update |
car_number | string |
{- "car_number": "AUD-151"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "car_number": "AUD-151",
- "initiator_name": "John Smith",
- "date_opened": "2019-01-01",
- "date_closed": "2019-01-03",
- "po_number": "PO123456",
- "source": "Supplier",
- "description": { },
- "type": "Audit",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
shipment_id required | integer The ID of the shipment to which the item should be added |
part_id | integer Part id to be added to the shipment |
quantity | integer Quantity of this part |
serial_number | string Lot |
drawing_id | integer The drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
order | integer In which arrangement position the parts will display in the order (For example, position 1). Default autoincrease |
{- "part_id": 10664,
- "quantity": 5,
- "serial_number": 1122,
- "drawing_id": 952,
- "order": 2
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "shipment_id": 178,
- "part_id": 10664,
- "quantity": 5,
- "serial_number": 1122,
- "drawing_id": 952,
- "order": 2
}
}
shipment_id required | integer The ID of the shipment to which the item belongs |
id required | integer The ID of the shipment item to update |
part_id | integer ID of the part to be added to the shipment |
quantity | integer Quantity of this part |
serial_number | string Lot |
drawing_id | integer ID of the drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
order | integer In which arrangement position the parts will display in the order (For example, position 1). Default autoincrease |
{- "part_id": 10664,
- "quantity": 10,
- "serial_number": 1122,
- "drawing_id": 952,
- "order": 2
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "shipment_id": 178,
- "part_id": 10664,
- "quantity": 5,
- "serial_number": 1122,
- "drawing_id": 952,
- "order": 2
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
identification | string Example: identification=SAMPLE123 The user assigned identification of the template |
keyword | string Example: keyword=Daily Inspection Template Keyword that matches template name or identification |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Daily Inspection",
- "identification": "SAMPLE123",
- "revision": 1,
- "revision_date": "2016-11-04",
- "notes": "Here are some sample notes",
- "is_approved": true,
- "approved_by": 286,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
id required | integer The ID of the specification to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Daily Inspection",
- "identification": "SAMPLE123",
- "revision": 1,
- "revision_date": "2016-11-04",
- "notes": "Here are some sample notes",
- "is_approved": true,
- "approved_by": 286,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "characteristics": [
- {
- "id": 123,
- "name": "Temperature",
- "operation": "Thermometer Measurement",
- "dimensions": "string",
- "tolerance": "string",
- "order": 3,
- "is_optional": false,
- "is_approval_required": true,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id | integer |
specification_id | integer |
testing_id | string |
testing_date | string <date> |
inspector_name | string |
batch_number | string |
package_id | string |
product_name | string |
lab_data | string |
{- "id": 123,
- "specification_id": 456,
- "testing_id": "TEST123",
- "testing_date": "2016-11-04",
- "inspector_name": "Joe Smith",
- "batch_number": "BATCH123",
- "package_id": "PACKAGE123",
- "product_name": "Banana Flower",
- "lab_data": "{'moisture_content_percent':'5.25','moisture_content_water_activity_rate':'11.00001'}"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "specification_id": 456,
- "testing_id": "TEST123",
- "testing_date": "2016-11-04",
- "inspector_name": "Joe Smith",
- "batch_number": "BATCH123",
- "package_id": "PACKAGE123",
- "product_name": "Banana Flower",
- "lab_data": {
- "moisture_content_percent": 5.25,
- "moisture_content_water_activity_rate": 11.00001
}, - "inspection": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}, - "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the specification to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "specification_id": 456,
- "testing_id": "TEST123",
- "testing_date": "2016-11-04",
- "inspector_name": "Joe Smith",
- "batch_number": "BATCH123",
- "package_id": "PACKAGE123",
- "product_name": "Banana Flower",
- "lab_data": {
- "moisture_content_percent": 5.25,
- "moisture_content_water_activity_rate": 11.00001
}, - "inspection": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}, - "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the lab result to update |
testing_id | string |
testing_date | string <date> |
inspector_name | string |
batch_number | string |
package_id | string |
product_name | string |
lab_data | string |
{- "testing_id": "TEST123",
- "testing_date": "2016-11-04",
- "inspector_name": "Joe Smith",
- "batch_number": "BATCH123",
- "package_id": "PACKAGE123",
- "product_name": "Banana Flower",
- "lab_data": "{'moisture_content_percent':'5.25','moisture_content_water_activity_rate':'11.00001'}"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "specification_id": 456,
- "testing_id": "TEST123",
- "testing_date": "2016-11-04",
- "inspector_name": "Joe Smith",
- "batch_number": "BATCH123",
- "package_id": "PACKAGE123",
- "product_name": "Banana Flower",
- "lab_data": {
- "moisture_content_percent": 5.25,
- "moisture_content_water_activity_rate": 11.00001
}, - "inspection": {
- "id": 1050,
- "entity_id": 234,
- "entity_type": "part",
- "drawing_id": 32,
- "sample_size": 1,
- "is_create_batch_records": true,
- "passed": true
}, - "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 1,
- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345",
- "investigator_user_id": 25,
- "investigated_at": "2018-05-28 10:18:53",
- "initiator_user_id": 25,
- "initiated_at": "2018-05-28 10:18:53",
- "closed_user_id": 25,
- "closed_at": "2018-05-28 10:18:53",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
complaint_number required | string |
complaint_date required | string <date> |
part_id | integer |
error_code_id | integer |
received_by | string |
received_via | string |
strain_name | string |
batch_number | string |
store_info | string |
comments | string |
complainant_full_name | string |
complainant_address | string |
complainant_phone | string |
complainant_email | string |
complainant_fax | string |
{- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1,
- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345",
- "investigator_user_id": 25,
- "investigated_at": "2018-05-28 10:18:53",
- "initiator_user_id": 25,
- "initiated_at": "2018-05-28 10:18:53",
- "closed_user_id": 25,
- "closed_at": "2018-05-28 10:18:53",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the complaint to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1,
- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345",
- "investigator_user_id": 25,
- "investigated_at": "2018-05-28 10:18:53",
- "initiator_user_id": 25,
- "initiated_at": "2018-05-28 10:18:53",
- "closed_user_id": 25,
- "closed_at": "2018-05-28 10:18:53",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the complaint record to update |
complaint_number required | string |
complaint_date required | string <date> |
part_id | integer |
error_code_id | integer |
received_by | string |
received_via | string |
strain_name | string |
batch_number | string |
store_info | string |
comments | string |
complainant_full_name | string |
complainant_address | string |
complainant_phone | string |
complainant_email | string |
complainant_fax | string |
{- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 1,
- "complaint_number": 123,
- "complaint_date": "2016-11-04",
- "part_id": 10,
- "error_code_id": 15,
- "received_by": "Jhone Doe",
- "received_via": "Phone",
- "strain_name": "Strain",
- "batch_number": "BATCH123",
- "store_info": "Store information goes here",
- "comments": "Comments from complaint goes here",
- "complainant_full_name": "Jane Doe",
- "complainant_address": "111 street name, city, province, Country",
- "complainant_phone": "1234567890",
- "complainant_email": "jane@doe.com",
- "complainant_fax": "12345",
- "investigator_user_id": 25,
- "investigated_at": "2018-05-28 10:18:53",
- "initiator_user_id": 25,
- "initiated_at": "2018-05-28 10:18:53",
- "closed_user_id": 25,
- "closed_at": "2018-05-28 10:18:53",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
order_id required | integer The ID of the order to which the item should be added |
order_id | integer Required, Order id to which the item belongs to |
part_id | integer Required, Part id to be added to the order |
quantity | number Required, Quantity of this part |
serial_number | any Required, Lot |
drawing_id | integer Optional, The drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
is_low_inventory | boolean Option, Establish if inventory is low or not. Default false |
is_low_materials | boolean Optional, Establish if is low on materials. Default false |
order | boolean Optional, In which arragement position the parts will display in the order (For example, position 1). Default, autoincrease |
{- "order_id": 10664,
- "part_id": 115,
- "quantity": 10,
- "serial_number": "test_mar_8_2023_2",
- "drawing_id": 2,
- "is_low_inventory": 2,
- "is_low_materials": 2,
- "order": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
order_id required | any The ID of the order to which the item should be modified |
id required | any The ID of the order item to modify |
order_id | integer Required, Order id to which the item belongs to |
part_id | integer Required, Part id to be added to the order |
quantity | number Required, Quantity of this part |
serial_number | any Required, Lot |
drawing_id | integer Optional, The drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
is_low_inventory | boolean Option, Establish if inventory is low or not. Default false |
is_low_materials | boolean Optional, Establish if is low on materials. Default false |
order | boolean Optional, In which arragement position the parts will display in the order (For example, position 1). Default, autoincrease |
{- "order_id": 10664,
- "part_id": 115,
- "quantity": 10,
- "serial_number": "test_mar_8_2023_2",
- "drawing_id": 2,
- "is_low_inventory": 2,
- "is_low_materials": 2,
- "order": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "customer_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "order_date": "2016-11-04",
- "order_number": "123456",
- "start_date": "2016-11-04",
- "due_date": "2016-11-08",
- "requested_ship_date": "2016-11-10",
- "actual_ship_date": "2016-11-12",
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "customer": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}, - "items": [
- {
- "id": 123,
- "part_id": 456,
- "specification_id": 789,
- "serial_number": "SERIAL123456",
- "quantity": 100,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
receiving_inspection_id required | integer The ID of the Receiving inspection parent to the item belongs |
id required | integer <int64> The id of the Receiving Inspection Item to update |
receiving_inspection_id | integer RI to link to |
part_id | integer Part id to be added to the RI |
quantity_accepted | number quantity for inspection, Double or Int |
quantity_rejected | number rejected quantity for inspection, Double or Int (Set 0 as default) |
unit_of_measure | string unit of measure ( Options '%', 'amin', 'asec', 'c', 'cm', 'CBD%', 'cfu/g', 'Deg', 'EA', 'F', 'ft', 'gal', 'gal/min', 'grams', 'g/cm3', 'g/ml', 'hr', 'ht', 'Hv', 'Hz', 'in', 'in/sec', 'kg', 'kgf', 'km', 'l', 'lb', 'lot', 'm', 'm3', 'min', 'ml', 'mm', 'MPa', 'mg/g', 'mg/kg', 'N.m', 'Oz', 'psi', 'ppm', 'ppb', 'Ra', 'rad', 'rc', 'RPM', 'Sec', 'THC%', 'µg/kg', 'µg/g', 'Volts') |
serial_number | string Serial Number |
order | integer In which arragement position the parts will display in the order (For example, position 1). Default autoincrease |
is_active_batch | boolean Is an active batch? Bool |
received_date | string Optional, The received date for this specific item |
drawing_id | integer The drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
{- "receiving_inspection_id": 531,
- "part_id": 10664,
- "quantity_accepted": 50,
- "quantity_rejected": 0,
- "unit_of_measure": "units",
- "serial_number": 11223,
- "order": 2,
- "is_active_batch": false,
- "received_date": "2021-07-04T00:00:00.000Z",
- "drawing_id": 952
}
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
receiving_inspection_id required | integer <int64> The id of the receiving inspection to add the item to |
part_id | integer <int64> Part id to be added to the RI |
quantity_accepted | number Quantity for inspection |
quantity_rejected | number Quantity rejected for inspection |
unit_of_measure | string unit of measure ( Options '%', 'amin', 'asec', 'c', 'cm', 'CBD%', 'cfu/g', 'Deg', 'EA', 'F', 'ft', 'gal', 'gal/min', 'grams', 'g/cm3', 'g/ml', 'hr', 'ht', 'Hv', 'Hz', 'in', 'in/sec', 'kg', 'kgf', 'km', 'l', 'lb', 'lot', 'm', 'm3', 'min', 'ml', 'mm', 'MPa', 'mg/g', 'mg/kg', 'N.m', 'Oz', 'psi', 'ppm', 'ppb', 'Ra', 'rad', 'rc', 'RPM', 'Sec', 'THC%', 'µg/kg', 'µg/g', 'Volts') |
serial_number | string Serial Number |
order | integer In which arrangement position the parts will display in the order (For example, position 1) |
is_active_batch | boolean Is an active batch? Bool |
cost | number Optional, The item cost |
received_date | string Optional, The received date for this specific item |
drawing_id | integer <int64> The drawing/template to be used with this part. Can be retrieved from Drawings endpoint |
{- "part_id": 10664,
- "quantity_accepted": 10,
- "quantity_rejected": 0,
- "unit_of_measure": "units",
- "serial_number": 1122,
- "order": 2,
- "is_active_batch": false,
- "cost": 1500,
- "received_date": "2021-07-04T00:00:00.000Z",
- "drawing_id": 952
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the shipment to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "shipment_number": "Order #3635",
- "requested_ship_date": "2022-01-11",
- "actual_ship_date": "2023-01-11",
- "po_number": "jan12_2023_1",
- "items": [
- {
- "id": 1,
- "shipment_id": 1,
- "part_id": 1,
- "serial_number": "serial12345",
- "quantity": 8,
- "is_inventory_calculated": 0,
- "shipped_date": "2023-01-25T00:00:00.000Z",
- "created_at": "2023-01-20T00:00:00.000Z",
- "updated_at": "2023-01-20T00:00:00.000Z",
- "nearest_expiry_date": "2023-01-20T00:00:00.000Z"
}
]
}
}
id required | integer The ID of the shipment to update |
requested_ship_date | string <date> Requested shipdate yyyy-mm-dd |
actual_ship_date | string <date> Optional, Actual shipdate yyyy-mm-dd (If set, will close the shipment) |
po_number | string Optional, Lot number OR serial number |
contact_id | integer Optional, Customer id |
notes | string Optional, shipment notes |
order_id | integer Optional, Existing order id (You should know this, after the shipment got created, use the order_id returned by api) |
is_ship_all_items | boolean Will all items ship at the same date and time? |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "shipment_number": "Order #3635",
- "requested_ship_date": "2022-01-11",
- "actual_ship_date": "2023-01-11",
- "po_number": "jan12_2023_1"
}
}
dateRange required | boolean Example: dateRange=true Either true or false |
fromDate required | string <date> Example: fromDate=2021-03-01 Can be empty or date format yyyy-mm-dd |
toDate required | string <date> Example: toDate=2023-01-12 Can be empty or date format yyyy-mm-dd |
{- "status": "success",
- "message": "The request was successful",
- "data": [
- {
- "shipment_number": "Order #3635",
- "requested_ship_date": "2022-01-11",
- "actual_ship_date": "2023-01-11",
- "po_number": "jan12_2023_1"
}
]
}
requested_ship_date | string <date> Requested shipdate yyyy-mm-dd |
contact_id | integer Optional, Customer id |
order_id | integer Optional, Existing order id (retrieve from orders API) |
po_number | string Optional, Lot number OR serial number |
is_ship_all_items | boolean Will all items ship at the same date and time? |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "shipment_number": "Order #3635",
- "requested_ship_date": "2022-01-11",
- "actual_ship_date": "2023-01-11",
- "po_number": "jan12_2023_1"
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "items": [
- {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
]
}
supplier_id | integer |
serial_number | string |
po_number | string |
requested_shipment_arrival_date | string |
actual_arrival_date | string |
is_closed | boolean |
is_quarantined | boolean |
total_order_quantity | number |
is_receive_all_items | boolean Will all items be received at the same date and time? |
notes | string |
Array of objects[ items ] |
{- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "is_receive_all_items": true,
- "notes": "Here are some notes about the order",
- "items": [
- {
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08"
}
]
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "items": [
- {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id required | integer The ID of the receiving inspection to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "items": [
- {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id required | integer The ID of the receiving inspection which will be updated |
id | integer |
supplier_id | integer |
serial_number | string |
po_number | string |
requested_shipment_arrival_date | string |
actual_arrival_date | string |
is_closed | boolean |
is_quarantined | boolean |
total_order_quantity | number |
is_receive_all_items | boolean Will all items be received at the same date and time? |
notes | string |
Array of objects[ items ] |
{- "id": 1024,
- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "is_receive_all_items": true,
- "notes": "Here are some notes about the order",
- "items": [
- {
- "id": 456,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08"
}
]
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "supplier_id": 1024,
- "serial_number": "S123456",
- "po_number": "PO123456",
- "requested_shipment_arrival_date": "2016-11-04",
- "actual_arrival_date": "2016-11-08",
- "is_closed": 0,
- "is_quarantined": 1,
- "total_order_quantity": 10,
- "notes": "Here are some notes about the order",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00",
- "items": [
- {
- "id": 123,
- "inventory_id": 789,
- "part_id": 456,
- "serial_number": "SERIAL123456",
- "quantity_accepted": 100,
- "quantity_rejected": 100,
- "unit_of_measure": "units",
- "order": 100,
- "expiry_date": "2016-11-08",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
}
id required | integer The ID of the part-type to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the part-type to update |
name | string |
is_active | number Is the type active (1) or not (0) |
{- "name": "Part Type Name",
- "is_active": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
name | string |
is_active | number Is the type active (1) or not (0) |
{- "name": "Part Type Name",
- "is_active": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the location to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the location to update |
name | string |
is_active | number Is the locaton active (1) or not (0) |
{- "name": "Location Name",
- "is_active": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
name | string |
is_active | number Is the location active (1) or not (0) |
{- "name": "Location Name",
- "is_active": 1
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Part Type Name",
- "is_active": 1,
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
per_page | integer Example: per_page=50 The desired number of records per page |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
]
}
name | string |
primary_name | string |
primary_email | string |
primary_phone | string |
primary_position | string |
secondary_name | string |
secondary_email | string |
secondary_phone | string |
secondary_position | string |
street | string |
city | string |
province | string |
country | string |
postal_code | string |
custom_field_1 | string |
custom_field_2 | string |
{- "name": "Customers Inc.",
- "primary_name": "John Smith",
- "primary_email": "johnsmith@customers.com",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_name": "Jane Smith",
- "secondary_email": "janesmith@abc.com",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the customer to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
id required | integer The ID of the customer to update |
name | string |
primary_name | string |
primary_email | string |
primary_phone | string |
primary_position | string |
secondary_name | string |
secondary_email | string |
secondary_phone | string |
secondary_position | string |
street | string |
city | string |
province | string |
country | string |
postal_code | string |
custom_field_1 | string |
custom_field_2 | string |
{- "name": "Customers Inc.",
- "primary_name": "John Smith",
- "primary_email": "johnsmith@customers.com",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_name": "Jane Smith",
- "secondary_email": "janesmith@abc.com",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "name": "Customers Inc.",
- "primary_email": "johnsmith@customers.com",
- "primary_name": "John Smith",
- "primary_phone": "1-649-123-4567",
- "primary_position": "Sales Director",
- "secondary_email": "janesmith@abc.com",
- "secondary_name": "Jane Smith",
- "secondary_phone": "1-649-123-4567",
- "secondary_position": "CEO",
- "street": "Test Street 1",
- "city": "Toronto",
- "province": "Ontario",
- "country": "Canada",
- "postal_code": "n4n4n4",
- "custom_field_1": "Custom value 2",
- "custom_field_2": "Custom value 2",
- "created_at": "2020-01-01 12:00:00",
- "updated_at": "2020-01-01 12:00:00"
}
}
page | integer Example: page=1 The current page of data |
is_active | integer Example: is_active=1 Filter by active or inactive data |
keyword | string Example: keyword=keyword Filter by keyword data |
{- "status": "success",
- "message": "The request was successful",
- "meta": {
- "current_page": 1,
- "from": 1,
- "to": 50,
- "total": 100,
- "per_page": 50
}, - "data": [
- {
- "id": 123,
- "first_name": "John",
- "last_name": "Smith",
- "is_active": true,
- "position": "Sales Director",
- "phone_number": 9999999999,
- "email_address": "janesmith@abc.com",
- "address": "Toronto",
- "next_review_date": "2023-04-10T00:00:00.000Z",
- "review_repeat_duration": "Months",
- "review_repeat_frequency": 2,
- "notes": "Notes here"
}
]
}
id required | integer The ID of the employees to retrieve |
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "first_name": "John",
- "last_name": "Smith",
- "is_active": true,
- "position": "Sales Director",
- "phone_number": 9999999999,
- "email_address": "janesmith@abc.com",
- "address": "Toronto",
- "next_review_date": "2023-04-10T00:00:00.000Z",
- "review_repeat_duration": "Months",
- "review_repeat_frequency": 2,
- "notes": "Notes here"
}
}
id required | integer The ID of the employees to update |
first_name | string |
last_name | string |
is_active | boolean |
position | string |
phone_number | string |
email_address | string |
address | string |
next_review_date | string Optional, Employee next review date |
review_repeat_duration | string Optional, Employee review duration (For example Days, Weeks or Months ) |
review_repeat_frequency | string Optional, Employee review frequency rate (For example 1, 2 .. connected with duration would be "2 Months") |
notes | string |
{- "first_name": "John",
- "last_name": "Smith",
- "is_active": true,
- "position": "Sales Director",
- "phone_number": 9999999999,
- "email_address": "janesmith@abc.com",
- "address": "Toronto",
- "next_review_date": "2023-04-10T00:00:00.000Z",
- "review_repeat_duration": "Months",
- "review_repeat_frequency": 2,
- "notes": "Notes here"
}
{- "status": "success",
- "message": "The request was successful",
- "data": {
- "id": 123,
- "first_name": "John",
- "last_name": "Smith",
- "is_active": true,
- "position": "Sales Director",
- "phone_number": 9999999999,
- "email_address": "janesmith@abc.com",
- "address": "Toronto",
- "next_review_date": "2023-04-10T00:00:00.000Z",
- "review_repeat_duration": "Months",
- "review_repeat_frequency": 2,
- "notes": "Notes here"
}
}