The Bigblue Pickup Points application saves the selected pickup point in a JSON-type Order Metafield.
# Order metafield reference
[namespace]
bigblue:public
[key]
pickup_point_selection
[type]
JSON
[value]
{"selectedPickupPoints": [...<selected pickup points>]}
When querying the Shopify admin API, the Metafield is available on the Order object.
query orders($orderQuery: String!) {
orders(query: $orderQuery, first: 1) {
nodes {
id
createdAt
metafields(keys: ["bigblue:public.pickup_point_selection"], first: 1) {
nodes {
namespace
key
value
}
}
shippingLines(first: 10) {
nodes {
title
}
}
}
}
}
Order webhooks do not send any Metafield data in the payload by default. To receive the pickup point selection in webhooks, you must add the bigblue:public
namespace to the Webhook configuration in the metafield_namespaces
****field.