Pickup Info
Storefront Pickup Info API endpoints
An API endpoint to get list of pickup-info.
Query parameters
shipping_method_idoptionalintegerOnly return pickup infos usable with the given published local pickup shipping method.
ReturnsPickupInfo[]
Pickup-info object response
An API endpoint to store pickup-info.
Request body
Store pickup info body
first_nameRequiredstringlast_nameRequiredstringphoneoptionalstring | nullRequired unless the shop has optional phone numbers enabled. Must be a valid international phone number.
pickup_point_idoptionalstringExternal pickup point reference, formatted as a two letter country code and a numeric identifier, e.g. FR-123456. Required when pickup_point_type is sent.
pickup_point_typeoptionalstringRequired when pickup_point_id is sent.
Possible values: mondial_relay.
ReturnsPickupInfo
Pickup-info object response
An API endpoint to update the contact details of a customer pickup info. The linked pickup point cannot be changed.
Path parameters
pickup_info_idRequiredintegerPickupInfo ID
Request body
Update pickup info body. Unlike an address, this payload is not merged - a phone left out is cleared when the shop makes phone numbers optional.
first_nameRequiredstringlast_nameRequiredstringphoneoptionalstring | nullRequired unless the shop has optional phone numbers enabled. Must be a valid international phone number.
ReturnsPickupInfo
Pickup-info object response
Error responses
400objectThe pickup info does not belong to the customer.
401objectMissing or invalid customer token.
404objectThe pickup info does not exist.
422objectValidation failed, for example a missing first_name/last_name or an invalid phone number.
An API endpoint to delete a customer pickup info.
Path parameters
pickup_info_idRequiredintegerPickupInfo ID
Returns
No content
Error responses
400objectThe pickup info does not belong to the customer.
401objectMissing or invalid customer token.
404objectThe pickup info does not exist.
422anyThe pickup info is in use: it is the shipping address of a subscription, or of an order awaiting delivery or a future shipment.