Delivery types export

Function delivery/exportTypes (http://<DOMAIN>/api/delivery/exportTypes/)

Parameters:

  • token - authorisation key obtained through the auth function

Response:

  • status - status of the function execution
  • OK - data exported
  • EMPTY - no data to export
  • response.deliveryTypes - list of delivery types
    • response.deliveryTypes[i].id - unique identifier of delivery type
    • response.deliveryTypes[i].title - delivery type name
      • response.deliveryTypes[i].en - delivery type name in English
      • response.deliveryTypes[i].ro - delivery type name in Romanian
      • ....
      • response.deliveryTypes[i].<LN> - name of delivery type in language. Where <LN> is the abbreviation of the language


Query example (http://<DOMAIN>/api/delivery/exportTypes/)
{  
    "token": "24a75d0678c49a34030e35baeb376ff3"
}
Response example
{
    "status": "OK",
    "response": {
        "deliveryTypes": [
            {
                "id": 1,
                "title": {
                    "en": "Downloadable content",
                    "ro": "Conținut descărcabil"
                }
            },
            {
                "id": 2,
                "title": {
                    "en": "Entering an address",
                    "ro": "Introducerea adresei"
                }
            },
            {
                "id": 3,
                "title": {
                    "en": "Entering an address in one row",
                    "ro": "Introducerea unei adrese într-un rând"
                }
            },
            {
                "id": 4,
                "title": {
                    "en": "Local pickup",
                    "ro": "Ridicare personală"
                }
            },
            {
                "id": 5,
                "title": {
                    "en": "Novapost",
                    "ro": "Novapost"
                }
            }
        ]
    }
}