Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
When sending a request, the values provided are subject to validation, ensuring that the transferred data are consistent with the assumptions of the platform receiving the request.
Data that does not fulfill fulfil the validation assumptions are not saved by the platform. In such case, the user is informed by a legible return message.
The resource has information concerning validation of the forms used in ShipX.
bgColor | #f0f0f0 |
---|---|
titleBGColor | #f0f0f0 |
title | Na tej stronie |
Table of Contents | ||
---|---|---|
|
On this page
Table of Contents |
---|
Custom Attributes Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| String |
Attribute is not required, The above condition is required only for the following values of | PL, IT |
| String |
Attribute is not required, acceptable values ( | PL, IT |
Insurance Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| Decimal |
Attribute is not required, greater than or equal to 1, less than 10000000 | PL |
| String |
Attribute is not required, default value: PLN | PL |
Parcels Simple Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| Dimensions Simple Form |
Attribute is not required, it becomes required when the | PL, IT |
| Weight Simple Form |
Attribute is not required, it becomes required when the | PL, IT |
| String |
Attribute is not required When passing a collection of parcels, it is required to pass the | PL, IT |
| Boolean |
Attribute is not required, default value: | PL, IT |
Dimensions Simple Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| Float |
Attribute is required, greater than or equal to 1, less than 1000000, empty value allowed | PL, IT |
| Float |
Attribute is required, greater than or equal to 1, less than 1000000, empty value allowed | PL, IT |
| Float |
Attribute is required, greater than or equal to 1, less than 1000000, empty value allowed | PL, IT |
| String |
Attribute is not required, default value: mm | PL, IT |
Weight Simple Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| Float |
Attribute is required, greater than or equal to 1, less than 10000000, empty value allowed | PL, IT |
| String |
Attribute is not required, default value: kg | PL, IT |
Receiver Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required, it becomes required when maximum length 255. | PL, IT | |
| String | Attribute is required only for parcel locker shipments, in other cases |
attribute is not required | PL, IT |
| String |
Attribute is required. Only 9 digits (333222111) | PL, IT |
| Address Form |
Attribute is required | PL, IT |
| String |
Attribute is not required, it becomes required when | PL, IT |
| String |
Attribute is not required, it becomes required when |
provided | PL, IT |
Sender Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required, it becomes required when | PL, IT |
| String |
Attribute is not required, empty value allowed | PL, IT |
| String |
Attribute is required. Only 9 digits (333222111) | PL, IT |
| Address Form |
Attribute is required | PL, IT |
| String |
Attribute is not required, it becomes required when |
provided | PL, IT |
| String |
Attribute is not required, it becomes required when | PL, IT |
Address Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| String |
Attribute is not required | PL, IT |
post_code | String |
Attribute is not required | PL, IT |
country_code | String |
Attribute is not required | PL, IT |
street | String |
Attribute is not required | PL, IT |
building_number | String |
Attribute is not required | PL, IT |
Create Address Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is required, maximum length 255, |
It is a condition for attribute validation that attributes are not passed | PL, IT |
| String |
Attribute is required, maximum length 255, |
It is a condition for attribute validation that attributes are not passed | PL, IT |
| String |
Attribute is required, maximum length 255, |
It is a condition for attribute validation that attributes are not passed | PL, IT |
| String |
Attribute is not required, maximum length 255 | PL, IT |
| String |
Attribute is required, maximum length 255 | PL, IT |
| String |
Attribute is required, address format according to the address convention of the post office in the user's country | PL, IT |
| String |
Attribute is not required, minimum length 2, maximum length 3 | PL, IT |
Cod Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| Decimal |
Attribute is not required, greater than or equal to 1, less than | PL |
| String |
Attribute is not required, default value: PLN | PL |
Shipment Select Offers Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| Integer |
Attribute is required, |
acceptable format | PL, IT |
| Integer |
Attribute is required, |
acceptable format | PL, IT |
Bulk Buy Shipments Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| Integer |
Attribute is required | PL, IT |
| Integer |
Attribute is required | PL, IT |
Format Parameters Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required | PL, IT |
| String |
Attribute is not required | PL, IT |
| String |
Attribute is not required | PL, IT |
| Array[Integer] |
Attribute is not required | PL, IT |
Mapping Form
Attribute | Type | Validation | Availability |
---|---|---|---|
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |
| String |
Attribute is not required, default value: null | PL, IT |