orders packagesrestockalerts (http://api.3plcentral.com/rels/orders/packagesrestockalerts)
Resource:
Collection: of packagesrestockalert
C# Rel Const:
Rels.OrderSvc.PackagesRestockAlerts
URI template:
PackagesRestockAlerts{?userLoginId}
Obtain URI from:
Get all package restock alerts
Success status: 200
Name (* = required) Data Type Description
userLoginId * int
Type Description
PackageRestockAlerts IList<Order.Models.PackageRestockAlert>
AlertId int defines alert identifier
UserLoginID int defines user to receive alerts
CreationDate DateTime defines when alert was created
OrderSource string defines order source
Message string defines alert message
Sample accept: application/hal+json
{
  "_embedded": {
    "http://api.3plCentral.com/rels/orders/packagesrestockalert": [
      {
        "alertId": 1,
        "userLoginID": 2,
        "creationDate": "2016-12-25T23:00:00",
        "orderSource": "str",
        "message": "str"
      }
    ]
  }
}
update all package restock alerts
Success status: 204
none
Type Description
UserLoginID int
OrderSource string
Alerts IEnumerable<string>
Sample content-type: application/hal+json
{
  "userLoginID": 1,
  "orderSource": "str",
  "alerts": [
    "str"
  ]
}

This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.