added
Shipping Address Added to Orders API Callbacks
8 months ago by Roman Turner
Callbacks, also referred to as webhooks, are secure HTTP requests made from Weedmaps to your configured system. These requests carry a payload that is the JSON-formatted Order object.
After a customer/patient has finished shopping and they are ready to check out, they are shown a preliminary order total with estimated taxes and fees.
There are two callback events related to the WM Orders service: Draft and Create.
We have added shipping address to the event payload.
An example of the fields of the shipping address field:
"shippingAddress": {
"address1": "4 Pacocha Groves",
"address2": "Apt. 307",
"city": "Barrett",
"countryCode": "US",
"county": "Orange County",
"latitude": "33.666633",
"longitude": "-117.7584978",
"postalCode": "10000",
"province": "CA"
}
A full example and additional docs are located at: Callbacks