Version 4.0.0 of project44's API
Version 4.0.0 of project44's API
InventoryItem should be passed without populating the id field. A unique id will be generated and returned in the response. This id will be used to identify the item across all other methods. This method will return 202 Accepted when the item has been queued for creation. The item is created asynchronously.
item
The Consumed-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The unique identifier for one inventory item. This identifier should be treated as an opaque string and should be used to associate the inventory item to other orders and items.
The Dimensional Weight which includes quantity, package type, cubic dimension details, and weight details for the inventory item
The customer-defined unique identifiers for the item
Provides important information about the hazardous materials to be transported, as required by the US Department of Transportation (DOT). Only required for shipment requests.
The manufactured date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of order identifiers for the inventory item. These must be the unique project44-generated ids from the id field of orders in the system.
The packaged date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The Sell-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of shipment identifiers associated with the inventory item. These values must be the project44-generated masterShipmentId from the shipments.
The Stock Keeping Unit (aka SKU) is the common code used to represent goods or items.
curl -i -X POST \ https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "consumeByDateTime": "string", "description": "string", "id": "string", "inventoryDimensionalWeight": { "cubicDimension": { "height": 0, "length": 0, "width": 0 }, "lengthUnit": "IN", "packageType": "BAG", "quantity": 0, "weight": { "weight": 0, "weightUnit": "LB" } }, "inventoryIdentifiers": [ { "description": "string", "type": "DEPARTMENT", "value": "string" } ], "lineItemHazmatDetail": { "hazardClass": "string", "identificationNumber": "string", "packingGroup": "I", "properShippingName": "string" }, "manufacturedDateTime": "string", "orderIds": [ "string" ], "packagedDateTime": "string", "perUnitCost": { "amount": 0, "currency": "USD" }, "perUnitRetailValue": { "amount": 0, "currency": "USD" }, "perishable": true, "promotionalDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "sellByDateTime": "string", "serialNumber": "string", "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "stockKeepingUnit": "string", "taxable": true, "universalProductCode": "string" }'
{ "id": "string" }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
The Consumed-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The unique identifier for one inventory item. This identifier should be treated as an opaque string and should be used to associate the inventory item to other orders and items.
The Dimensional Weight which includes quantity, package type, cubic dimension details, and weight details for the inventory item
The customer-defined unique identifiers for the item
Provides important information about the hazardous materials to be transported, as required by the US Department of Transportation (DOT). Only required for shipment requests.
The manufactured date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of order identifiers for the inventory item. These must be the unique project44-generated ids from the id field of orders in the system.
The packaged date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The Sell-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of shipment identifiers associated with the inventory item. These values must be the project44-generated masterShipmentId from the shipments.
The Stock Keeping Unit (aka SKU) is the common code used to represent goods or items.
{ "consumeByDateTime": "string", "description": "string", "id": "string", "inventoryDimensionalWeight": { "cubicDimension": { … }, "lengthUnit": "IN", "packageType": "BAG", "quantity": 0, "weight": { … } }, "inventoryIdentifiers": [ { … } ], "lineItemHazmatDetail": { "hazardClass": "string", "identificationNumber": "string", "packingGroup": "I", "properShippingName": "string" }, "manufacturedDateTime": "string", "orderIds": [ "string" ], "packagedDateTime": "string", "perUnitCost": { "amount": 0, "currency": "USD" }, "perUnitRetailValue": { "amount": 0, "currency": "USD" }, "perishable": true, "promotionalDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "sellByDateTime": "string", "serialNumber": "string", "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "stockKeepingUnit": "string", "taxable": true, "universalProductCode": "string" }
InventoryItem should be passed with the id field populated with the value returned from createItem. InventoryItems returned from the service will have id populated. InventoryItem.id must match the id in the URL. This method will return 202 Accepted when the item has been queued for update. The item is updated asynchronously.
item
The Consumed-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The unique identifier for one inventory item. This identifier should be treated as an opaque string and should be used to associate the inventory item to other orders and items.
The Dimensional Weight which includes quantity, package type, cubic dimension details, and weight details for the inventory item
The customer-defined unique identifiers for the item
Provides important information about the hazardous materials to be transported, as required by the US Department of Transportation (DOT). Only required for shipment requests.
The manufactured date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of order identifiers for the inventory item. These must be the unique project44-generated ids from the id field of orders in the system.
The packaged date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The Sell-By date-time for the inventory item. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
The list of shipment identifiers associated with the inventory item. These values must be the project44-generated masterShipmentId from the shipments.
The Stock Keeping Unit (aka SKU) is the common code used to represent goods or items.
curl -i -X PUT \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "consumeByDateTime": "string", "description": "string", "id": "string", "inventoryDimensionalWeight": { "cubicDimension": { "height": 0, "length": 0, "width": 0 }, "lengthUnit": "IN", "packageType": "BAG", "quantity": 0, "weight": { "weight": 0, "weightUnit": "LB" } }, "inventoryIdentifiers": [ { "description": "string", "type": "DEPARTMENT", "value": "string" } ], "lineItemHazmatDetail": { "hazardClass": "string", "identificationNumber": "string", "packingGroup": "I", "properShippingName": "string" }, "manufacturedDateTime": "string", "orderIds": [ "string" ], "packagedDateTime": "string", "perUnitCost": { "amount": 0, "currency": "USD" }, "perUnitRetailValue": { "amount": 0, "currency": "USD" }, "perishable": true, "promotionalDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "sellByDateTime": "string", "serialNumber": "string", "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "stockKeepingUnit": "string", "taxable": true, "universalProductCode": "string" }'
{ "id": "string" }
curl -i -X DELETE \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "errorMessage": "string", "errors": [ { … } ], "httpMessage": "string", "httpStatusCode": 0, "supportReferenceId": "string" }
curl -i -X POST \ https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items/bulk \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "items": [ { "consumeByDateTime": "string", "description": "string", "id": "string", "inventoryDimensionalWeight": { "cubicDimension": { "height": 0, "length": 0, "width": 0 }, "lengthUnit": "IN", "packageType": "BAG", "quantity": 0, "weight": { "weight": 0, "weightUnit": "LB" } }, "inventoryIdentifiers": [ { "description": "string", "type": "DEPARTMENT", "value": "string" } ], "lineItemHazmatDetail": { "hazardClass": "string", "identificationNumber": "string", "packingGroup": "I", "properShippingName": "string" }, "manufacturedDateTime": "string", "orderIds": [ "string" ], "packagedDateTime": "string", "perUnitCost": { "amount": 0, "currency": "USD" }, "perUnitRetailValue": { "amount": 0, "currency": "USD" }, "perishable": true, "promotionalDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "sellByDateTime": "string", "serialNumber": "string", "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "stockKeepingUnit": "string", "taxable": true, "universalProductCode": "string" } ] }'
{ "ids": [ { … } ] }
criteria
A date and time range filter, with time zone offset.
Search for items with hazard classes that match the provided hazard classes.
Search for items with inventory identifiers that match the provided inventory identifiers (InventoryIdentifier.type, InventoryIdentifier.description, InventoryIdentifier.value).
A date and time range filter, with time zone offset.
A date and time range filter, with time zone offset.
A date and time range filter, with time zone offset.
Search for items with shipment ids that match the provided shipment ids. These must be project44-generated masterShipmentIds.
Search for items with stock keeping units that match the provided stock keeping units.
curl -i -X POST \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/items/search?page=0&size=0&sort=stockKeepingUnit%3AASC' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "consumeByDateTimeRange": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "hazardClasses": [ "string" ], "ids": [ "string" ], "inventoryIdentifiers": [ { "description": "string", "type": "DEPARTMENT", "value": "string" } ], "manufacturedDateTimeRange": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "orderIds": [ "string" ], "packagedDateTimeRange": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "perUnitCost": { "maximumValue": { "amount": 0, "currency": "USD" }, "maximumValueInclusive": true, "minimumValue": { "amount": 0, "currency": "USD" }, "minimumValueInclusive": true }, "perUnitRetailValue": { "maximumValue": { "amount": 0, "currency": "USD" }, "maximumValueInclusive": true, "minimumValue": { "amount": 0, "currency": "USD" }, "minimumValueInclusive": true }, "perishable": true, "searchText": "string", "sellByDateTimeRange": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "skus": [ "string" ], "taxable": true, "upcs": [ "string" ] }'
{ "paginationInfo": { "pageNumber": 0, "pageSize": 0, "total": 0 }, "results": [ { … } ] }
InventoryOrder should be passed without populating the id field. A unique id will be generated and returned in the response. This id will be used to identify the order across all other methods. This method will return 202 Accepted when the order has been queued for creation. The order is created asynchronously.
order
Semi-unique numbers or terms that describe orders. These are to be used in addition to the unique order object ID and can be used to search and filter. Examples include a vendor contract number (2108), or promotion specific term-number combination (Winter_1267).
An optional user-defined set of custom attributes to associate with this order. All attribute keys must be pre-defined by your organization's admin.
Details the terms of the freight ownership during transport. Specified in the quote, contract or general terms and conditions.
Unique identifier to retrieve exactly one order. This identifier should be treated as an opaque string and should be used to associate the InventoryOrder to other orders and items.
The date when a particular launch related to the overall order is expected. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Optional customer provided field. The authority is the party responsible for managing creation of the order identifier.
The date that the order is submitted. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Non-unique numbers or terms that describe how orders are managed within the organization. These are to be used in addition to the unique order object ID and can be used to filter. The expanse of these terms are generally static and they are used when searching and filtering to a specific department, team, category, or provided identifier.
The type of the InventoryOrder. Required if relying on order identifier to be unique.
A date and time range, with time zone offset.
Additional orders that can be related to this order. These ids must bethe project44-generated id from another order in the system.
Ids of the associated shipments for the order. The order can span across multiple shipments and the shipment can have multiple orders. These values must be the project44-generated masterShipmentId from the shipments.
The stage of the order lifecycle that it is currently in
The date at which the status was generated or changed. This will bedefaulted to null unless provided. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
A date and time range, with time zone offset.
curl -i -X POST \ https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/orders \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "additionalOrderIdentifiers": [ { "type": "CONTRACT", "value": "string" } ], "attributes": [ { "name": "string", "values": [ "string" ] } ], "billToLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "derivedOrderHealth": { "arrivalStatus": { "code": "UNKNOWN", "duration": { "amount": 0, "unit": "UNKNOWN" } }, "estimatedTimeOfArrival": "string" }, "destinationLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "freightTerms": { "freightOwnershipType": "PREPAID", "transportationPaymentType": "ORIGIN" }, "id": "string", "launchDateTime": "string", "orderIdentifier": "string", "orderIdentifierAuthority": "string", "orderSubmissionDateTime": "string", "orderTags": [ { "description": "string", "type": "ANALYST", "value": "string" } ], "orderType": "PURCHASE_ORDER", "originLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "originalDeliveryDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "relatedOrderIds": [ "string" ], "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "statusCode": "SUBMITTED", "statusCodeDateTime": "string", "subject": "string", "supplierReadyDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "totalCost": { "amount": 0, "currency": "USD" }, "totalRetailValue": { "amount": 0, "currency": "USD" }, "vendorLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" } }'
{ "id": "string" }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/orders/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
Semi-unique numbers or terms that describe orders. These are to be used in addition to the unique order object ID and can be used to search and filter. Examples include a vendor contract number (2108), or promotion specific term-number combination (Winter_1267).
An optional user-defined set of custom attributes to associate with this order. All attribute keys must be pre-defined by your organization's admin.
Details the terms of the freight ownership during transport. Specified in the quote, contract or general terms and conditions.
Unique identifier to retrieve exactly one order. This identifier should be treated as an opaque string and should be used to associate the InventoryOrder to other orders and items.
The date when a particular launch related to the overall order is expected. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Optional customer provided field. The authority is the party responsible for managing creation of the order identifier.
The date that the order is submitted. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Non-unique numbers or terms that describe how orders are managed within the organization. These are to be used in addition to the unique order object ID and can be used to filter. The expanse of these terms are generally static and they are used when searching and filtering to a specific department, team, category, or provided identifier.
The type of the InventoryOrder. Required if relying on order identifier to be unique.
A date and time range, with time zone offset.
Additional orders that can be related to this order. These ids must bethe project44-generated id from another order in the system.
Ids of the associated shipments for the order. The order can span across multiple shipments and the shipment can have multiple orders. These values must be the project44-generated masterShipmentId from the shipments.
The stage of the order lifecycle that it is currently in
The date at which the status was generated or changed. This will bedefaulted to null unless provided. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
A date and time range, with time zone offset.
{ "additionalOrderIdentifiers": [ { … } ], "attributes": [ { … } ], "billToLocation": { "additionalContacts": [ … ], "address": { … }, "contact": { … }, "id": "string", "name": "string", "suppliedId": "string" }, "derivedOrderHealth": { "arrivalStatus": { … }, "estimatedTimeOfArrival": "string" }, "destinationLocation": { "additionalContacts": [ … ], "address": { … }, "contact": { … }, "id": "string", "name": "string", "suppliedId": "string" }, "freightTerms": { "freightOwnershipType": "PREPAID", "transportationPaymentType": "ORIGIN" }, "id": "string", "launchDateTime": "string", "orderIdentifier": "string", "orderIdentifierAuthority": "string", "orderSubmissionDateTime": "string", "orderTags": [ { … } ], "orderType": "PURCHASE_ORDER", "originLocation": { "additionalContacts": [ … ], "address": { … }, "contact": { … }, "id": "string", "name": "string", "suppliedId": "string" }, "originalDeliveryDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "relatedOrderIds": [ "string" ], "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "statusCode": "SUBMITTED", "statusCodeDateTime": "string", "subject": "string", "supplierReadyDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "totalCost": { "amount": 0, "currency": "USD" }, "totalRetailValue": { "amount": 0, "currency": "USD" }, "vendorLocation": { "additionalContacts": [ … ], "address": { … }, "contact": { … }, "id": "string", "name": "string", "suppliedId": "string" } }
InventoryOrder should be passed with the id field populated with the value returned from createOrder. Orders returned from the service will have id populated. InventoryOrder.id must match the id in the URL. This method will return 202 Accepted when the order has been queued for update. The order is updated asynchronously.
order
Semi-unique numbers or terms that describe orders. These are to be used in addition to the unique order object ID and can be used to search and filter. Examples include a vendor contract number (2108), or promotion specific term-number combination (Winter_1267).
An optional user-defined set of custom attributes to associate with this order. All attribute keys must be pre-defined by your organization's admin.
Details the terms of the freight ownership during transport. Specified in the quote, contract or general terms and conditions.
Unique identifier to retrieve exactly one order. This identifier should be treated as an opaque string and should be used to associate the InventoryOrder to other orders and items.
The date when a particular launch related to the overall order is expected. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Optional customer provided field. The authority is the party responsible for managing creation of the order identifier.
The date that the order is submitted. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
Non-unique numbers or terms that describe how orders are managed within the organization. These are to be used in addition to the unique order object ID and can be used to filter. The expanse of these terms are generally static and they are used when searching and filtering to a specific department, team, category, or provided identifier.
The type of the InventoryOrder. Required if relying on order identifier to be unique.
A date and time range, with time zone offset.
Additional orders that can be related to this order. These ids must bethe project44-generated id from another order in the system.
Ids of the associated shipments for the order. The order can span across multiple shipments and the shipment can have multiple orders. These values must be the project44-generated masterShipmentId from the shipments.
The stage of the order lifecycle that it is currently in
The date at which the status was generated or changed. This will bedefaulted to null unless provided. (format: yyyy-MM-dd'T'HH:mm:ssZ, example: 2019-11-14T12:30:00-0500).
A date and time range, with time zone offset.
curl -i -X PUT \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/orders/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "additionalOrderIdentifiers": [ { "type": "CONTRACT", "value": "string" } ], "attributes": [ { "name": "string", "values": [ "string" ] } ], "billToLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "derivedOrderHealth": { "arrivalStatus": { "code": "UNKNOWN", "duration": { "amount": 0, "unit": "UNKNOWN" } }, "estimatedTimeOfArrival": "string" }, "destinationLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "freightTerms": { "freightOwnershipType": "PREPAID", "transportationPaymentType": "ORIGIN" }, "id": "string", "launchDateTime": "string", "orderIdentifier": "string", "orderIdentifierAuthority": "string", "orderSubmissionDateTime": "string", "orderTags": [ { "description": "string", "type": "ANALYST", "value": "string" } ], "orderType": "PURCHASE_ORDER", "originLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" }, "originalDeliveryDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "relatedOrderIds": [ "string" ], "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "statusCode": "SUBMITTED", "statusCodeDateTime": "string", "subject": "string", "supplierReadyDateTimeWindow": { "endDateTime": "string", "startDateTime": "string" }, "totalCost": { "amount": 0, "currency": "USD" }, "totalRetailValue": { "amount": 0, "currency": "USD" }, "vendorLocation": { "additionalContacts": [ { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" } ], "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "contact": { "companyName": "string", "contactName": "string", "contactType": "PRIMARY", "email": "string", "faxNumber": "string", "faxNumberCountryCode": "string", "phoneNumber": "string", "phoneNumber2": "string", "phoneNumber2CountryCode": "string", "phoneNumberCountryCode": "string" }, "id": "string", "name": "string", "suppliedId": "string" } }'
{ "id": "string" }
curl -i -X DELETE \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/orders/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "errorMessage": "string", "errors": [ { … } ], "httpMessage": "string", "httpStatusCode": 0, "supportReferenceId": "string" }
Order Sortable Fields: [orderType, orderIdentifier, statusCode, orderSubmissionDateTime, supplierReadyDateTimeWindow.startDateTime, supplierReadyDateTimeWindow.endDateTime, originalDeliveryDateTimeWindow.startDateTime,originalDeliveryDateTimeWindow.endDateTime, derivedOrderHealth.estimatedTimeOfArrival]
criteria
Search for orders with additional identifiers matching the list of identifiers provided. Both the values in the identifiers are optional, but at least one is required. The list can be null or empty, but cannot contain any null elements.
Search for orders whose bill-to location match the given address fields (i.e. postalCode, addressLines, city, state, country).
Search for orders whose destination location match the given address fields. (i.e. postalCode, addressLines, city, state, country).
Search for the existence of shipmentIds on an order. If value is 'true', it searches for orders that contain shipments. If the value is 'false', it searches for orders that contain no shipments. If the value is null, this criterion is excluded. If this is used in combination with 'shipmentIds' search criteria, it might cause unexpected results.
Search for orders that contain the provided custom attributes.
Search for orders based on arrival status, duration range / delta, target date range, or the combination of any.
${InventoryOrderSearchCriteria.apiModel.orderIdentifierCriteria.value}
Search for orders with identifiers that match the provided order identifiers.
${InventoryOrderSearchCriteria.apiModel.orderLocationCriteria.value}
A date and time range filter, with time zone offset.
Search for items with order tags based matching the list of tags provided.Both the values in tags are optional, but at least one is required. The list can be null or empty, but cannot contain any null elements.
Search for orders with types that match the provided types.
Search for orders whose origin location match the given address fields. (i.e. postalCode, addressLines, city, state, country).
A date and time range filter, with time zone offset.
A date and time range filter, with time zone offset.
Search for orders that contain related orders matching the provided ids.
Search for orders with shipment ids that match the provided shipment ids. These must be project44-generated masterShipmentIds.
A collection of fields on which to sort the search results, and the direction of the sort for each field.
Search for orders containing any of the provided status codes.
A date and time range filter, with time zone offset.
A date and time range filter, with time zone offset.
curl -i -X POST \ 'https://developers.project44.com/_mock/guides/shippers/other/order-visibility/api/api/v4/inventory/orders/search?page=1&size=30&sort=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "additionalOrderIdentifierCriteria": [ { "operator": "EQUALS", "type": "CONTRACT", "value": "string", "values": [ "string" ] } ], "billToLocationAddressText": "string", "destinationLocationAddressText": "string", "hasShipmentIds": true, "ids": [ "string" ], "launchDateTime": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "orderAttributes": [ { "name": "string", "operator": "EQUALS", "values": [ "string" ] } ], "orderHealthCriteria": [ { "dateRanges": [ { "endDateTime": "string", "offsetMinutes": 0, "operator": "WITHIN", "startDateTime": "string" } ], "deltas": [ { "operator": "MORE_THAN", "type": "RUNNING_EARLY", "value": 0 } ], "durationRange": { "fromDuration": { "amount": 0, "unit": "UNKNOWN" }, "fromInclusive": true, "toDuration": { "amount": 0, "unit": "UNKNOWN" }, "toInclusive": true }, "shipmentStatus": "UNKNOWN" } ], "orderIdentifierCriteria": [ { "operator": "EQUALS", "type": "PURCHASE_ORDER", "values": [ "string" ] } ], "orderIdentifiers": [ "string" ], "orderLocationCriteria": [ { "propertyCriteria": [ { "operator": "EQUALS", "type": "POSTAL_CODE", "values": [ "string" ] } ], "stopCriteria": { "operator": "EQUALS", "values": [ "ORIGIN" ] } } ], "orderSubmissionDateTime": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "orderTagCriteria": [ { "operator": "EQUALS", "type": "ANALYST", "value": "string", "values": [ "string" ] } ], "orderTypes": [ "PURCHASE_ORDER" ], "originLocationAddressText": "string", "originalDeliveryDateTimeWindowEnd": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "originalDeliveryDateTimeWindowStart": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "pagination": { "pageNumber": 0, "pageSize": 0 }, "relatedOrderIds": [ "string" ], "searchText": "string", "shipmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "sort": [ { "direction": "ASC", "fieldName": "ORDER_TYPE" } ], "statusCodes": [ "SUBMITTED" ], "supplierReadyDateTimeWindowEnd": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "supplierReadyDateTimeWindowStart": { "endDateTime": "string", "endDateTimeInclusive": true, "startDateTime": "string", "startDateTimeInclusive": true }, "vendorLocationAddressText": "string" }'
{ "paginationInfo": { "pageNumber": 0, "pageSize": 0, "total": 0 }, "results": [ { … } ] }