Skip to content
For LLMsView as Markdown·

Update a promotion ​

http
PUT https://api.onehazel.com/supplier-api/promotions/{promotionId}

Section: Suppliers
Operation id: putSupplierApiPromotionsByPromotionId

Authentication ​

Supplier key (oh_supplier_...) or a signed-in supplier session token, as a bearer token.

Parameters ​

NameInRequiredDescription
promotionIdpathyes

Request body ​

JSON object.

Responses ​

200 { "success": true, "data": ... }

Errors return { "success": false, "error": { "code": "...", "message": "..." } } with a 4xx or 5xx status.

Example ​

bash
curl -X PUT "https://api.onehazel.com/supplier-api/promotions/{promotionId}" \
  -H "Authorization: Bearer oh_supplier_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Machine-readable: openapi.yaml, openapi.json.