Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
return_shipment_request_data.php
Go to the documentation of this file.
1 <?php
6 return [
7  'data' => [
8  'shipper_contact_person_name' => 'testO',
9  'shipper_contact_person_first_name' => 'test ',
10  'shipper_contact_person_last_name' => 'O',
11  'shipper_contact_company_name' => 'testO',
12  'shipper_contact_phone_number' => '23424',
13  'shipper_email' => '[email protected]',
14  'shipper_address_street' => 'mainst1',
15  'shipper_address_street1' => 'mainst1',
16  'shipper_address_street2' => '',
17  'shipper_address_city' => 'Los Angeles',
18  'shipper_address_state_or_province_code' => 'CA',
19  'shipper_address_postal_code' => '90032',
20  'shipper_address_country_code' => 'US',
21  'recipient_contact_person_name' => 'DK',
22  'recipient_contact_person_first_name' => 'D',
23  'recipient_contact_person_last_name' => 'K',
24  'recipient_contact_company_name' => 'wsdfsdf',
25  'recipient_contact_phone_number' => '234324',
26  'recipient_email' => '',
27  'recipient_address_street' => '43514 Christy Street',
28  'recipient_address_street1' => '43514 Christy Street',
29  'recipient_address_street2' => '43514 Christy Street',
30  'recipient_address_city' => 'Fremont',
31  'recipient_address_state_or_province_code' => 'CA',
32  'recipient_address_region_code' => 'CA',
33  'recipient_address_postal_code' => '94538',
34  'recipient_address_country_code' => 'US',
35  'shipping_method' => '6',
36  'package_weight' => '5',
37  'base_currency_code' => 'USD',
38  'store_id' => '1',
39  'reference_data' => '#100000001 P',
40  'packages' => [
41  1 => [
42  'params' => [
43  'container' => '',
44  'weight' => 5,
45  'custom_value' => '',
46  'length' => '',
47  'width' => '',
48  'height' => '',
49  'weight_units' => 'POUND',
50  'dimension_units' => 'INCH',
51  'content_type' => '',
52  'content_type_other' => '',
53  'delivery_confirmation' => 'True',
54  ],
55  'items' => [
56  '2' => [
57  'qty' => '1',
58  'customs_value' => '5',
59  'price' => '5.0000',
60  'name' => 'prod1',
61  'weight' => '5.0000',
62  'product_id' => '1',
63  'order_item_id' => 2,
64  ],
65  ],
66  ],
67  ],
68  'order_shipment' => null,
69  ]
70 ];