Order Shipment Notification
How to get order shipment notification

How to get order order shipment notifications

Educational video from PromoStandards



Function getOrderShipmentNotification

In order to get order order shipment notification for a given supplier we need to use Order Shipment Notification Service(OSN). Our API allows easy access by a GET request to our order-shipment-notifications endpoint.

Query Types

query_typeShort NameDescription
1PO SearchQuery based on customer provided purchase order number.
2SO SearchQuery based on vendor assigned sales order number.
3ShipDate SearchQuery based on all shipments with a shipment date greater than the value specified in shipmentDateTimeStamp.

HTTP VERB: GET

URL: https://api.psrestful.com/v1.0.0/suppliers/{SUPPLIER_CODE}/order-shipment-notifications/ (opens in a new tab)

Example Response:

This is the response from calling with:
SUPPLIER_CODE = PCNA
query_type = 1 reference_number = 50

COMPLETE URL:

https://api.psrestful.com/v1.0.0/suppliers/PCNA/order-shipment-notifications/?query_type=1&reference_number=50

Error Response Example

{
    "OrderShipmentNotificationArray": null,
    "ErrorMessage": {
        "code": 301,
        "description": "referenceNumber not found"
    }
}

another Error Response Example

{
    "OrderShipmentNotificationArray": null,
    "ErrorMessage": {
        "code": 999,
        "description": "Invalid SOAP params passed. The earliest date that can searched can be no longer than 7 days."
    }
}