walmart-api-php icon indicating copy to clipboard operation
walmart-api-php copied to clipboard

Get Inbound Shipment Items Response Field error

Open jsrgqinbin opened this issue 1 year ago • 1 comments

InboundShipmentErrorsResponseWrapper

protected static array $openAPITypes = [
    'inboundOrderId' => 'string',
    'createdDate' => '\DateTime',
    'returnAddress' => '\Walmart\Models\MP\US\Fulfillment\ReturnAddress',
    'orderItems' => '\Walmart\Models\MP\US\Fulfillment\OrderItem[]',
    'errors' => '\Walmart\Models\MP\US\Fulfillment\Error[]'
];

The actual returned data is as follows

{ "headers": { "limit": 10, "offset": 0, "totalCount": 4 }, "payload": [ { "inboundOrderId": "1235113", "shipmentId": "4846GDM", "gtin": "00634482736852", "sku": "ACDD-WZK73685", "itemDesc": "Blue Jeans", "itemQty": 10, "vendorPackQty": 0, "innerPackQty": 0, "receivedQty": 0, "damagedQty": 0, "fillRate": 0, "expectedDeliveryDate": "2020-09-24T00:00:00.000Z", "updatedExpectedDeliveryDate": "2020-09-24T00:00:00.000Z" }, { "inboundOrderId": "1235113", "shipmentId": "4846GDM", "gtin": "00812040019191", "sku": "KALA-WFS-KA-SWG-BL", "itemDesc": "Google mini", "itemQty": 16, "vendorPackQty": 0, "innerPackQty": 0, "receivedQty": 0, "damagedQty": 0, "fillRate": 0, "expectedDeliveryDate": "2020-09-24T00:00:00.000Z", "updatedExpectedDeliveryDate": "2020-09-24T00:00:00.000Z" }, { "inboundOrderId": "1235113", "shipmentId": "4846GDM", "gtin": "00077540052578", "sku": "NOTN-WFS-10480", "itemDesc": "Blue Jeans", "itemQty": 12, "vendorPackQty": 0, "innerPackQty": 0, "receivedQty": 0, "damagedQty": 0, "fillRate": 0, "expectedDeliveryDate": "2020-09-24T00:00:00.000Z", "updatedExpectedDeliveryDate": "2020-09-24T00:00:00.000Z" }, { "inboundOrderId": "1235113", "shipmentId": "4846GDM", "gtin": "00636047311207", "sku": "GLHF-GL1304WMST", "itemDesc": "Blue Jeans", "itemQty": 14, "vendorPackQty": 0, "innerPackQty": 0, "receivedQty": 0, "damagedQty": 0, "fillRate": 0, "expectedDeliveryDate": "2020-09-24T00:00:00.000Z", "updatedExpectedDeliveryDate": "2020-09-24T00:00:00.000Z" } ] }

jsrgqinbin avatar Nov 03 '23 06:11 jsrgqinbin