curl --location 'https://test.api.globkurier.pl/v1/customs/config?senderCountry=1&receiverCountry=42&name=FedEX' \
--header 'Accept-Language: pl' \
--header 'X-Auth-token;'{
"sections": [
"sender",
"commodities",
"summary",
"details"
],
"fields": [
{
"label": null,
"type": null,
"placeholder": null,
"name": "sender",
"value": null,
"required": true,
"tooltip": null,
"multi": null,
"expanded": null,
"disabled": false,
"min": null,
"max": null,
"precision": null,
"suffix": null,
"section": null,
"frontType": null,
"customFunctions": [],
"style": null,
"compound": true,
"options": null,
"constraints": [],
"fields": [
{
"label": "Numer EORI kraju nadającego",
"type": "text",
"placeholder": "Eori",
"name": "eori",
"value": null,
"required": true,
"tooltip": "W przypadku przesyłek wysyłanych przez osoby prywatne, proszę wpisać 0",
"multi": null,
"expanded": null,
"disabled": false,
"min": null,
"max": null,
"precision": null,
"suffix": null,
"section": "sender",
"frontType": "text",
"customFunctions": [],
"style": null,
"compound": false,
"options": null,
"constraints": [
{
"class": "Symfony\\Component\\Validator\\Constraints\\Length",
"arguments": {
"min": "1",
"max": "20"
}
},
{
"class": "Symfony\\Component\\Validator\\Constraints\\NotBlank",
"arguments": []
},
{
"class": "Symfony\\Component\\Validator\\Constraints\\Type",
"arguments": {
"value": "string"
}
}
],
"fields": []
}
]
},
{
"label": "Zawartość",
"type": "collection",
"placeholder": null,
"name": "commodities",
"value": null,
"required": true,
"tooltip": null,
"multi": null,
"expanded": null,
"disabled": false,
"min": null,
"max": null,
"precision": null,
"suffix": null,
"section": null,
"frontType": null,
"customFunctions": [],
"style": null,
"compound": false,
"options": null,
"constraints": [
{
"class": "Symfony\\Component\\Validator\\Constraints\\NotBlank",
"arguments": []
}
],
"fields": [
{
"label": "Pełen opis towaru (PL) ;; Pełen opis towaru (EN)",
"type": "text",
"placeholder": "Opis",
"name": "description",
"value": null,
"required": true,
"tooltip": null,
"multi": null,
"expanded": null,
"disabled": false,
"min": 1,
"max": 150,
"precision": null,
"suffix": null,
"section": "commodities",
"frontType": "dual_description",
"customFunctions": [],
"style": {
"width": "14%"
},
"compound": false,
"options": null,
"constraints": [
{
"class": "Symfony\\Component\\Validator\\Constraints\\Length",
"arguments": {
"min": "1",
"max": "150"
}
},
{
"class": "Symfony\\Component\\Validator\\Constraints\\NotBlank",
"arguments": []
},
{
"class": "Symfony\\Compone