Update gifting config
update_gifting_configSet a shop's gifting rules: enabled status, entry time limit, eligible products, and shipping. Upserts config; server enforces validation and one-platform-per-shop mutex.
Instructions
Writes the four creator-controlled gifting rule fields. Validation (duration 20-180s, valid shipping/products) and the one-platform-per-shop mutex are enforced server-side. Upserts: a first-ever PUT materializes the config row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Explicit approval for this exact provider effect or local private-file operation. | |
| enabled | No | Master flag. Off pauses purchasability without losing the rest. | |
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| products | No | ||
| shipping | No | ||
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. | |
| entryTimeLimitSeconds | No | Entry time limit in seconds. Validated 20-180. |