Store Settings
Get the store settings and folder list. This is particularly helpful if you are looking for details about a store's folder structure and need to fetch ID numbers.
The folder IDs returned here are used throughout the API. These should be retrieved and cached rather than hardcoded, as they are specific to each store.
The settings object includes the store's API key and, where outbound mail is configured, SMTP credentials. This response should not be logged or passed to a browser.
Your API key, found under Store Settings on the API tab. This should be kept server-side.
Your store ID, found under Store Settings on the API tab.
Your store's settings and folders.
Either success or error.
Describes the result. Always present when an error occurs.
Time taken to process the request.
0.1524 seconds11Order Desk UniversityThe Order Desk application version this store runs on.
Locale used for formatting, such as en_US.
The store's timezone. The _local date filters are relative to this.
Two-letter country code for the store.
Address customer-facing mail is sent from.
Address store notifications are sent to.
Whether addresses are re-capitalized on import. 1 or 0.
Whether phone numbers are reformatted on import. 1 or 0.
PHP date format used for full dates in the interface.
PHP date format used for dates without a time.
How often summary reports are sent.
Period the dashboard reports on, such as daily.
The public URL of the storefront.
Custom CSS applied to the Order Desk interface.
Whether to flag orders shipping to a PO box.
Whether to flag orders whose shipping and customer addresses differ.
Whether to flag orders shipping to a different country.
Whether countries render as codes or full names.
Display name for the all orders view.
The store's API key. The whole response should be treated as sensitive.
SMTP port, when outbound mail is configured.
SMTP host, when outbound mail is configured.
SMTP username, when outbound mail is configured.
SMTP password, when outbound mail is configured.
SMTP encryption mode, when outbound mail is configured.
Extra headers added to outbound mail.
Whether incoming orders decrement inventory automatically.
Whether unknown SKUs create inventory records automatically.
How many orders the interface shows per page.
Quantity above which an order is flagged for review. 0 disables this check.
Maximum characters per address field. 0 means there is no limit.
Legacy duplicate of the normalize_capitalization setting.
Authentication failed. See the Authentication guide, and note that an invalid store ID blocks your store rather than simply failing the request.
You are sending too fast. Wait X-Retry-After seconds. See
the Rate Limits guide.
The request could not be completed.
curl "https://app.orderdesk.me/api/v2/store" \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key"
{
"status": "success",
"message": "text",
"execution_time": "0.1524 seconds",
"store": {
"id": "11",
"name": "Order Desk University",
"settings": {
"app_version": "text",
"locale_code": "text",
"timezone": "text",
"store_country": "text",
"store_email": "text",
"admin_email": "text",
"normalize_capitalization": "text",
"normalize_phone_numbers": "text",
"date_format": "text",
"short_date_format": "text",
"report_frequency": "text",
"dashboard_report_type": "text",
"store_url": "text",
"custom_css": "text",
"security_po_box_warn": "text",
"security_different_address_warn": "text",
"security_different_country_warn": "text",
"country_name_format": "text",
"all_orders_name": "text",
"api_key": "text",
"smtp_port": "text",
"smtp_host": "text",
"smtp_username": "text",
"smtp_password": "text",
"smtp_encryption": "text",
"smtp_headers": "text",
"auto_update_stock_count": "text",
"auto_create_inventory_items": "text",
"orders_per_page": 1,
"security_quantity_warn": 1,
"limit_address_field_char_length": 1,
"normalizeCapitalization": 1,
"all_orders_column_view": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"shipping_methods": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"default_checkout_data_fields": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"folders": {
"21654": "New",
"21655": "Prepared",
"21656": "Closed",
"21657": "Canceled"
}
}
}Last updated
Was this helpful?

