POST api/Shipment?warehouse={warehouse}&enterprice={enterprice}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouse | integer |
Required |
|
| enterprice | integer |
Required |
Body Parameters
Documentation| Name | Description | Type | Additional information |
|---|---|---|---|
| identifier | string |
None. |
|
| idpedido | string |
None. |
|
| items | Collection of ShipmentItems |
None. |
|
| province | string |
None. |
|
| city | string |
None. |
|
| name | string |
None. |
|
| zip | string |
None. |
|
| country | string |
None. |
|
| address1 | string |
None. |
|
| company | string |
None. |
|
| address2 | string |
None. |
|
| phone | string |
None. |
|
| string |
None. |
||
| reference | string |
None. |
|
| contents | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"identifier": "sample string 1",
"idpedido": "sample string 2",
"items": [
{
"sku": "sample string 1",
"quantity": 2
},
{
"sku": "sample string 1",
"quantity": 2
}
],
"province": "sample string 3",
"city": "sample string 4",
"name": "sample string 5",
"zip": "sample string 6",
"country": "sample string 7",
"address1": "sample string 8",
"company": "sample string 9",
"address2": "sample string 10",
"phone": "sample string 11",
"email": "sample string 12",
"reference": "sample string 13",
"contents": "sample string 14"
}
application/xml, text/xml
Sample:
<Documentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupplyAPI.Models">
<address1>sample string 8</address1>
<address2>sample string 10</address2>
<city>sample string 4</city>
<company>sample string 9</company>
<contents>sample string 14</contents>
<country>sample string 7</country>
<email>sample string 12</email>
<identifier>sample string 1</identifier>
<idpedido>sample string 2</idpedido>
<items>
<ShipmentItems>
<quantity>2</quantity>
<sku>sample string 1</sku>
</ShipmentItems>
<ShipmentItems>
<quantity>2</quantity>
<sku>sample string 1</sku>
</ShipmentItems>
</items>
<name>sample string 5</name>
<phone>sample string 11</phone>
<province>sample string 3</province>
<reference>sample string 13</reference>
<zip>sample string 6</zip>
</Documentation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>