PUT api/v1/po_notifications

Update the expected delivery date of a PO notification not yet received.

Request Information

URI Parameters

None.

Body Parameters

po_notification_update
NameDescriptionTypeAdditional information
account_number

Value assigned to you by DCL.

string

Required

Max length: 10

location

Warehouse location where the delivery is expected.

string

Required

Max length: 3

reference_transaction_number

Only letters, digits, '#' or '-' sign are allowed. This must be unique for each transaction.

string

Required

Max length: 25

expected_delivery_date

Date in ISO-8601 format. Only date part (no time) is required ('YYYY-MM-DD').

date

Required

lines

Optional list of lines. Required only when expected_delivery_date must be specified at the line level.

Collection of line

None.

Request Formats

application/json, text/json

Sample:
{
  "account_number": "10501",
  "location": "FR",
  "reference_transaction_number": "TRAZ4MSA72",
  "expected_delivery_date": "2015-12-06",
  "lines": [
    {
      "line_number": 1,
      "item_number": "1001-001-DEMO",
      "expected_delivery_date": "2015-12-08"
    }
  ]
}

Response Information

Resource Description

response_put_po_notifications
NameDescriptionTypeAdditional information
error_code

Zero if no errors. When different from zero, the order is rejected. See 'error_message' for a detailed description of the error.

integer

None.

error_message

Returns a detailed description of the error.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "error_code": 0,
  "error_message": ""
}