Skip to main content
GET
/
v1
/
partner
/
orders
/
order-types
Enum of valid order types (delivery / pickup / dine-in)
curl --request GET \
  --url https://api.dev.shadowchef.co/v1/partner/orders/order-types \
  --header 'Authorization: Basic <encoded-value>'
{
  "request_id": "9e571c4e5c5ff7f2b1d03907497f403e",
  "data": [
    {
      "id": 1,
      "type": "pickup",
      "translation": {
        "en": "Pick up ",
        "id": "Ambil",
        "ja": "お持ち帰り",
        "tl": "Pick up ",
        "vi": "Nhặt lên"
      },
      "translation_drive_thru": {
        "en": "Pick up (Drive Thru) ",
        "id": "Ambil (Drive Thru)",
        "ja": "お持ち帰り(ドライブスルー)",
        "vi": "Đón (Drive Thru)"
      }
    },
    {
      "id": 2,
      "type": "delivery",
      "translation": {
        "en": "Delivery ",
        "id": "Pengiriman",
        "ja": "配達",
        "tl": "Delivery ",
        "vi": "Giao hàng"
      },
      "translation_drive_thru": null
    },
    {
      "id": 3,
      "type": "dinein",
      "translation": {
        "en": "Dine in ",
        "id": "Makan di tempat",
        "ja": "店内",
        "tl": "Dine in ",
        "vi": "Ăn tại nhà hàng"
      },
      "translation_drive_thru": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization: Basic base64(partner_key:secret_key).

Credentials are issued by a klikit operator. The plaintext secret_key is shown once at issuance and cannot be retrieved later — store it securely. If lost, ask your operator to rotate the secret to receive a new one. The old secret stops working immediately on rotation; there is no overlap window.

Response

200 - application/json

Order-type enum

Canonical response wrapper. Every response — success or error — carries the request_id so you can quote one id to klikit support to correlate a request end-to-end.

request_id
string
required
Example:

"req_4d1b7e3f-..."

data
object[]

Endpoint-specific payload on success.

error
object

Machine-readable error code + human message. The code is stable across releases — switch on code in your client code rather than parsing the message text.

Common codes you will encounter as a partner:

CodeHTTPMeaning
auth_missing401Authorization header absent / malformed
auth_invalid_credential401partner_key or secret_key did not verify
auth_revoked403Credential is revoked
auth_forbidden403Credential not authorized for the requested scope
request_invalid400Body / query parameters failed validation
request_missing_idempotency_key400Write endpoint called without Idempotency-Key
request_invalid_range400Date range > 90 days
resource_not_found404Order / store / mapping does not exist
resource_unmapped404Stock / availability call referenced an unknown SKU
state_invalid_transition409Order PATCH not allowed by current state
state_idempotency_conflict409Same Idempotency-Key reused with a different body
rate_limit_exceeded429Per-credential rate cap hit
downstream_unavailable502An internal klikit dependency is unreachable