Skip to main content

SKU Promo

SKU promo is promo on single menu item. We allow you to create SKU promo specific to any outlet. You can create a promotion, view a list of promotions for a specific outlet, and also delete or deactivate a promotion.

Create Promo

Creating promo on specific menu on specific outlet.

Endpoint = POST /integrations/promo/outlets/{outlet_id}/v1/food-promos

Sample Request

Sample Request
curl -X POST https://api.partner-sandbox.gobiz.co.id/integrations/promo/outlets/{outlet_id}/v1/food-promos \
-H 'Content-Type: application/json' \
-H 'X-Request-ID: some-sample-request-id' \
-H 'X-Idempotency-Key: 3f5751ac-4423-4f60-aeb9-aacb5e76e4d1' \
-H 'Authorization: Bearer {access-token}' \
-d $'
{
"promo_type": "sku_promo",
"promo_detail": {
"start_date": "2020-09-04",
"end_date": "2020-09-07",
"selling_price": 2500,
"external_menu_id": "external_menu_id"
}
}
'

Sample Response (200)

Sample Response
{
"success": true,
"data": {
"success": [
{
"id": "promotion_id",
"external_menu_id": "external-menu-id",
"errors": null
}
],
"failure": [
{
"id": null,
"external_menu_id": "external-menu-id",
"errors": "Item is not active"
}
]
}
}

How SKU Promo looks like on Consumer App?

SKU Promo in App 1SKU Promo in App 2

Get List of Promo

This method allows you to retrieve the list of promotions for a specific outlet.

Endpoint = GET /integrations/promo/outlets/{outlet_id}/v1/food-promos

Sample Request

Sample Request
curl -X GET https://api.partner-sandbox.gobiz.co.id/enterprises/{enterprise_id}/outlets/{outlet_id}/promo/v1/food-promos \
-H 'X-Request-ID: some-sample-request-id' \
-H 'Authorization: Bearer {access-token}'

Sample Response (200)

Sample Response
{
"success": true,
"data": {
"promotions": [
{
"start_date": "2020-09-04",
"end_date": "2020-09-04",
"status": "created",
"id": "96f614f6-745e-47f5-ad68-c0c8e9ba8dc8"
}
],
"total_count": 100,
"limit": 10,
"page": 2
}
}

Get Promo Detail

By using this method, you can get the detailed information about a specific promotion.

Endpoint = GET /integrations/promo/outlets/{outlet_id}/v1/food-promos/{promotion_id}

Sample Request

Sample Request
curl -X GET https://api.partner-sandbox.gobiz.co.id/integrations/promo/outlets/{outlet_id}/v1/food-promos/{promotion_id} \
-H 'X-Request-ID: some-sample-request-id' \
-H 'Authorization: Bearer {access-token}'

Sample Response (200)

Sample Request
{
"success": true,
"data": [
{
"id": "96f614f6-745e-47f5-ad68-c0c8e9ba8dc8",
"start_date": "2020-09-04",
"end_date": "2020-09-04",
"status": "activated",
"promo_type": "sku_promo",
"details": {
"menu_item": {
"id": "45ba745f-745e-4568-ad68-c0c8e9ba8dc8",
"external_menu_id": "external-menu-id",
"name": "Kopi",
"price": 4500,
"discounted_price": 2500
}
}
}
]
}

Promo FAQ

NoQuestionsAnswers
1What’s the minimum discount of promo?Minimum discount of promo is 10% i.e
- Original price = Rp 100.000
- Min discounted price = Rp 90.000
2Does the promo automatically ended at end_dateYes