API

Update pickup settings

POST/api/crm/v2/pickup.update_templatev2
operationId: pickup.updateTemplate

Updates branch pickup settings. Each all_pickups_* flag applies the corresponding value to all branch pickup points, while all_pickups applies all settings at once. Toggling pickup_force_enabled also republishes or hides the branch areas.

Authorization

api-token + language + role

Query parameters

branch_idintegerrequired

Example: 8778

Request body application/json

object
day_timearray of stringrequired
pickup_force_enabledboolean

"Pickup only" mode

Example: false

operator_idintegerrequired

Example: 7109

all_pickups_operator_idboolean

Apply to all pickup points

Example: true

minimum_order_amountintegerrequired

Minimum order amount

Example: 200

all_pickups_minimum_order_amountboolean

Apply to all pickup locations

Example: false

preparation_timeintegerrequired

Order preparation time in minutes

Example: 60

all_pickups_preparation_timeboolean

Apply to all pickup locations

Example: false

other_preparation_time_enabledboolean

Enable

Example: true

all_pickups_other_preparation_time_enabledboolean

Apply to all pickup locations

Example: false

other_preparation_timeinteger

Increase in preparation time during a specified period

Example: 90

all_pickups_other_preparation_timeboolean

Apply to all pickup locations

Example: false

other_preparation_time_periodsstringrequired

Example: 00:00 - 23:59

all_pickups_other_preparation_time_periodsboolean

Apply to all pickup locations

Example: false

other_minimum_order_amount_enabledboolean

Enable additional minimum order amount settings

Example: true

all_pickups_other_minimum_order_amount_enabledboolean

Apply to all pickup locations

Example: false

other_minimum_order_amountintegerrequired

Minimum order amount for the specified period

Example: 300

all_pickups_other_minimum_order_amountboolean

Apply to all pickup locations

Example: false

other_minimum_order_amount_periodsstringrequired

Example: 00:00 - 23:59

all_pickups_other_minimum_order_amount_periodsboolean

Apply to all pickup locations

Example: false

other_minimum_order_amount_daysarray of integer

Days of the week for additional minimum order amount

all_pickups_other_minimum_order_amount_daysboolean

Apply to all pickup locations

Example: false

timeworkstring

Example: 00:00 - 23:59

all_pickups_work_timeboolean

Apply to all pickup locations

Example: false

all_pickupsboolean

Apply all settings to all pickup points

Example: false

day_mode_base_1integerrequired

Values:123

Example: 1

day_mode_base_2integerrequired

Values:123

Example: 1

day_mode_base_3integerrequired

Values:123

Example: 1

day_mode_base_4integerrequired

Values:123

Example: 1

day_mode_base_5integerrequired

Values:123

Example: 1

day_mode_base_6integerrequired

Values:123

Example: 1

day_mode_base_7integerrequired

Values:123

Example: 1

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject