API Changelog
2026-10-19
API Payload
Added sku_v2 promotion scope and campaign tracking
We have updated the order payload and webhook events to support granular SKU-level promotion attribution and Gojek campaign tracking.
Payload Changes
- New
sku_v2Scope (applied_promotions): Introduced thesku_v2scope to provide detailed tracking per SKU promotion instance, includingpromo_source,redeemed_amount, andmerchant_budget_share_percentage. - Promo Source Attribution (
promo_source): Indicates the source of the promotion:SKU_PROMO: Merchant-created promotions. Detailed information can be retrieved via the Get Promotion Detail API.CAMPAIGN: Gojek-run campaigns (e.g., Bonus Spesial). Funded by Gojek, Merchants, or both. Campaign IDs are reference-only.
- Order Items Mapping: Added
sku_promo_idandsku_promo_sourcetoorder_itemsto map each line item directly to its correspondingsku_v2entry. priceandredeemed_amountsemantics:- When
SKU_PROMO,priceis the promo price (the price after the SKU promo is applied).redeemed_amountis the difference between the original price and the promo price. - When
CAMPAIGN,priceis the original item price.redeemed_amountis the discount applied.
- When
info
The sku scope in applied_promotions will be phased out. Please migrate to sku_v2 to access richer metadata, budget distribution, and promo source details.
Affected Documentation
2026-09-30
API Event
Added gofood.order.prep_order_now event
We have added a new GoFood order event, gofood.order.prep_order_now, triggered when the order is ready to be prepared by the merchant. The event uses the standard order notification payload with order status set to PREP_ORDER_NOW.
Event Changes
- New event
gofood.order.prep_order_now: Subscribe to it to get notified when the merchant should start preparing an order. The timing can vary depending on the situation: it can be sent at the same time as merchant accepted orgofood.order.driver_otw_pickup, when the driver gets near the outlet, or when the driver has arrived.