PickupV2

PickupV2 or null

Order pickup information parsed from the email.

Example:
{"location":{"raw_address":"Amazon Locker - 123 Example Street, London, United Kingdom","raw_opening_hours":"Monday - Saturday: 08:00 AM - 10:00 PM Sunday: 09:00 AM - 08:00 PM","opening_hours":{"sunday":[{"open":true,"from":"09:00","to":"20:00"}],"monday":[{"open":true,"from":"08:00","to":"22:00"}],"tuesday":[{"open":true,"from":"08:00","to":"22:00"}],"wednesday":[{"open":true,"from":"08:00","to":"22:00"}],"thursday":[{"open":true,"from":"08:00","to":"22:00"}],"friday":[{"open":true,"from":"08:00","to":"22:00"}],"saturday":[{"open":true,"from":"08:00","to":"22:00"}]}},"instructions":"You must bring your ID that matches the name on the parcel.","code":"31232","barcode":{"image_url":"http://example.com/images/barcode.png"},"pickup_action_url":"https://www.example.com/pickup/start?order=12345","available_datetime":{"start":null,"end":{"date":"2012-12-12","time":null,"utc_offset":null,"timezone_identifier":null},"raw":"PICK UP UNTIL Wednesday, Dec 12"}}
location
PickupLocationV2 or null
required

Pickup location. The order pickup point.

Example:
{"raw_address":"Amazon Locker - 123 Example Street, London, United Kingdom","raw_opening_hours":"Monday - Saturday: 08:00 AM - 10:00 PM Sunday: 09:00 AM - 08:00 PM","opening_hours":{"sunday":[{"open":true,"from":"09:00","to":"20:00"}],"monday":[{"open":true,"from":"08:00","to":"22:00"}],"tuesday":[{"open":true,"from":"08:00","to":"22:00"}],"wednesday":[{"open":true,"from":"08:00","to":"22:00"}],"thursday":[{"open":true,"from":"08:00","to":"22:00"}],"friday":[{"open":true,"from":"08:00","to":"22:00"}],"saturday":[{"open":true,"from":"08:00","to":"22:00"}]}}
raw_address
string or null
required

Raw address text of the pickup location parsed from the email.

Example:
Amazon Locker - 123 Example Street, London, United Kingdom
raw_opening_hours
string or null
required

Raw opening hours text.

Example:
Monday - Saturday: 08:00 AM - 10:00 PM Sunday: 09:00 AM - 08:00 PM
opening_hours
OpeningHoursV2 or null
required

Opening hours information of the pickup location.

Example:
{"sunday":[{"open":true,"from":"09:00","to":"20:00"}],"monday":[{"open":true,"from":"08:00","to":"22:00"}],"tuesday":[{"open":true,"from":"08:00","to":"22:00"}],"wednesday":[{"open":true,"from":"08:00","to":"22:00"}],"thursday":[{"open":true,"from":"08:00","to":"22:00"}],"friday":[{"open":true,"from":"08:00","to":"22:00"}],"saturday":[{"open":true,"from":"08:00","to":"22:00"}]}
instructions
string or null
required

Pickup instructions. Specific requirements or guidelines for collecting the order.

Example:
You must bring your ID that matches the name on the parcel.
code
string or null
required

Collection code. The code or PIN required to pick up the order.

Example:
31232
barcode
object or null
required

Barcode or QR code information for pickup.

image_url
string or null
required

Image URL of the barcode or QR code.

Example:
http://example.com/images/barcode.png
pickup_action_url
string or null
required

URL for the user to take pickup action.

Example:
https://www.example.com/pickup/start?order=12345
available_datetime
object or null
required

Pickup time window. The time range during which the order is available for collection.

start
DateTimeV2 or null
required

Earliest pickup time.

Example:
{"date":"2012-12-12","time":"13:06:22","utc_offset":8,"timezone_identifier":"Asia/Shanghai"}
end
DateTimeV2 or null
required

Latest pickup time.

Example:
{"date":"2012-12-12","time":"13:06:22","utc_offset":8,"timezone_identifier":"Asia/Shanghai"}
raw
string or null
required

Raw text of the available pickup time extracted from the email.

Example:
PICK UP UNTIL Wednesday, Dec 12
Example
preparing...