Skip to content
On this page
QUICK OVERVIEW

This section shows how quickly and easily you can use apomap API; for example, to transfer an order from the POS system to apomap via our API.


ORDER TRANSFER

In order to transfer an order (delivery or pickup) to apomap, the following structure must be used.


HTTP-Method: POST
URL: https://europe-west3-apomapdreinull.cloudfunctions.net/api/createTask
Content-Type: application/json
Codepage: UTF-8


JSON-Parameter: NameData TypeDescriptionRequired
api_keyString (255 characters max.)Unique API key (viewable in the apomap backend)Yes
task_descriptionText (255 characters)Free text field "Remark" from the input fieldNo
task_typeString (255 characters max.)Delivery type options are "delivery" or "pickup" -> Default is delivery
email_addressEmail addressCustomer email address for queries and customer appNo
contact_number (mobil_number)String (255 characters max.)Customer phone number for queries and possibly also SMS status informationNo
customer_nameString (255 characters max.)Customer's last nameYes
customer_fnameString (255 characters max.)Customer's first nameYes
delivery_addressString (255 characters max.) Format: street, house number, zip code, cityDelivery address of the customer. Example: Musterstraße 12, 12345 MusterstadtYes
delivery_dateUNIX-TimestampDesired delivery time (delivery from this time)Yes
delivery_date_fromUNIX-TimestampTime window Desired delivery fromNo
delivery_date_toUNIX-TimestampTime window delivery toNo
task_priorityintegerPriority of delivery - 1 very highNo
task_process_timeintegerTime spent on site (in minutes)No
job_noString (255 characters max.)Order number from WawiNo
payment_totalFloatPayable or Outstanding amountYes
refrigeration_mandatoryBooleanDo the goods have to be refrigerated?No
refrigeration_typeString (255 characters max.)What temperature range (e.g. 3-8 degrees)No
btmBooleanAnestheticNo


EXAMPLE


{
"api_key": "apomap.e852edfb96a00c2836f9ef37cb4902ca",
"customer_name": "Tester",
"customer_fname": "thorben",
"email_address": "info@mail.com",
"contact_number": "0800/837383",
"task_type": "pickup",
"delivery_date": "1631696139",
"delivery_date_to": "",
"delivery_date_from": "",
"task_priority": 10,
"task_process_time": 5,
"task_description": "hello",
"delivery_address": "Remmeswiese 30, 59955 Winterberg",
"payment_total": 2.23,
"job_no": 123512,
„refrigeration_mandatory": true,
"refrigeration_type": „2-8Deg“,
"btm": true
}