Get Order Variables
Orders
Get Order Variables
Retrieve payment and shipping method lists
GET
Get Order Variables
Overview
Returns the available payment methods and shipping methods used in the system.Headers
Your API access token
Response
true if successfulObject containing payment and shipping method arrays
Examples
Success Response (200)
Error Response (401)
Use Cases
Initialize POS
Initialize POS
Fetch and cache variables when POS starts.
Display Order Details
Display Order Details
Map payment/shipping keys to display names.
Build Filters
Build Filters
Create dropdown filters in POS interface.
Validation
Validation
Validate incoming order data.
Caching Strategy
These values rarely change. Cache them locally to avoid unnecessary API calls.
Payment Methods
| Key | Name | Description |
|---|---|---|
| CASH | Nakit | Cash payment on delivery |
| CREDIT_CARD | Kredi Kartı | Credit card (pre-paid) |
| DEBIT_CARD | Banka Kartı | Debit card (pre-paid) |
Shipping Methods
| Key | Name | Description |
|---|---|---|
| delivery | Teslimat | Home/office delivery |
| pickup | Gel Al | Customer pickup from restaurant |
Related Endpoints
Get Current Orders
Orders use these payment/shipping methods
Get Cancel Reasons
Another variables endpoint