pickup_set_location
Add or change a collection point. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Required for a new place. | |
| name | Yes | The place's name as shoppers pick it, like Baixa shop. Names an existing place (case does not matter) to change it, or a new one to add. | |
| line1 | No | Street and number. Required for a new place. | |
| line2 | No | Floor, unit, building. Empty clears it. | |
| phone | No | A number shoppers can call about their order. Empty clears it. | |
| slots | No | Collection windows within a day as HH:MM pairs, replacing the current list. Empty means any time the place is open. | |
| country | No | ISO 3166-1 alpha-2, like PT. Required for a new place. | |
| province | No | Region or state. Empty clears it. | |
| renameTo | No | A new name for an existing place. Up to 60 characters. | |
| isEnabled | No | Whether checkout offers it. A place closed for a while is switched off, not removed. New places are on unless said. | |
| readyTime | No | The promise shown to shoppers, a sentence like 'after 3pm today'. Empty puts back 'Usually ready in 24 hours'. | |
| pickupDays | No | Weekdays collections are accepted, 0 Sunday through 6 Saturday. New places default to Monday to Friday. A place that is on needs at least one. | |
| postalCode | No | Empty clears it. | |
| closedDates | No | Dates the place is shut whatever the weekday, each YYYY-MM-DD, replacing the current list. Ones that do not read as a date are dropped. | |
| instructions | No | Extra lines for the confirmation email: door codes, opening hours. Empty clears it. | |
| leadTimeHours | No | Notice needed before the first day offered, in hours: 24 means tomorrow at the earliest. 0 to 1440. |