Pick-up info
Read, create, and delete the pick-up contact records of the customer.
Gets the pick-up contact records the signed-in customer saved. A record says who collects the parcel, and which point they collect it from. Needs an authenticated customer.
Method parameters
paramsRequiredPickupInfoFetchParamsWhich records to return. The argument is required by position, so pass an empty object for all of them.
shippingMethodIdoptionalnumberKeep only the records that work with this pick-up shipping method. In practice this filters by country.
ReturnsPromise<CustomerPickupInfo[]>
The saved records.
List every record
List the records for one pick-up method
Creates a pick-up contact record for the signed-in customer. Put its id on the
cart as shippingAddressId once the customer chose a pick-up point. Needs an
authenticated customer.
Method parameters
payloadRequiredPickupInfoStorePayloadThe record to create.
ReturnsPromise<CustomerPickupInfo>
The record created.
Add a record
Add a record for a Mondial Relay point
Deletes a pick-up contact record. Needs an authenticated customer. The request fails while a subscription still uses the record.
Method parameters
pickupInfoIdRequirednumberID of the record to delete.
ReturnsPromise<void>
Nothing. The response body is empty.
Delete a record