Create an item (or a modifier option)
Modifier options are items with onlyModifier: true. Use the
same endpoint and toggle that flag, then link the modifier into
a group via
linkModifiersToGroup.
Klikit prices are required: the klikit provider id ("1") must
be present in prices. Per-currency entries default to the
business’s primary currency.
On success data.id is the item id.
Authorizations
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.
Body
Locale-keyed text. Keys are ISO 639-1 codes (en, id, ja, ...).
Use whichever key matches your storefront; klikit ships a value
for every locale your business is configured for.
{ "en": "Margherita", "id": "Margherita" }VAT percentage (0 if VAT-exempt).
x >= 0Per-provider visibility flag. Keys are provider ids (as strings)
from GET /v1/partner/providers. Set a provider's value to
true to publish on that channel. Providers absent from the map
default to hidden.
Klikit's own marketplace is provider id "1".
{ "1": true, "6": true }Nested map: provider_id (string) → currency_code (ISO 4217) → EachPrice. The klikit provider (id "1") is mandatory for any
item that should be sellable on klikit's own marketplace.
{
"1": {
"IDR": { "price": 50000, "takeAwayPrice": 50000 }
}
}Locale-keyed text. Keys are ISO 639-1 codes (en, id, ja, ...).
Use whichever key matches your storefront; klikit ships a value
for every locale your business is configured for.
{ "en": "Margherita", "id": "Margherita" }Optional partner-side SKU identifier.
50Set true when this "item" is actually a modifier option
(e.g. a Size choice), not a sellable menu item. The same
POST endpoint is used to create both; the flag determines
where it can be referenced.
Minutes the kitchen needs to prepare.
Response
Item created. data.id is the item id.
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.
"req_4d1b7e3f-..."
Endpoint-specific payload on success.
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:
| Code | HTTP | Meaning |
|---|---|---|
auth_missing | 401 | Authorization header absent / malformed |
auth_invalid_credential | 401 | partner_key or secret_key did not verify |
auth_revoked | 403 | Credential is revoked |
auth_forbidden | 403 | Credential not authorized for the requested scope |
request_invalid | 400 | Body / query parameters failed validation |
request_missing_idempotency_key | 400 | Write endpoint called without Idempotency-Key |
request_invalid_range | 400 | Date range > 90 days |
resource_not_found | 404 | Order / store / mapping does not exist |
resource_unmapped | 404 | Stock / availability call referenced an unknown SKU |
state_invalid_transition | 409 | Order PATCH not allowed by current state |
state_idempotency_conflict | 409 | Same Idempotency-Key reused with a different body |
rate_limit_exceeded | 429 | Per-credential rate cap hit |
downstream_unavailable | 502 | An internal klikit dependency is unreachable |