v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Settings

Get Orders Setting

To retrieve the setting of orders<br>獲取訂單設定

get/settings/orders

Response

OK

invoice_activationstring
current_invoice_service_providerstring
invoiceobject
invoice_tradevanobject
no_duplicate_uniform_invoiceboolean
enabled_location_idboolean

Enable "Location ID Setting" in Admin<br> 後台啟用「儲位編號設定」功能

customer_cancel_orderobject
customer_return_orderobject
default_out_of_stock_reminderboolean

Enable "Out-Of-Stock Reminder" in Admin<br> 啟用「商品預設缺貨提醒」功能

Example response

{
  "invoice_activation": "active",
  "current_invoice_service_provider": "tradevan",
  "facebook_messenging": {
    "status": "active"
  },
  "invoice": {
    "tax_id": "24973192",
    "oversea_tax_type": "2",
    "tax_type": "1",
    "n_p_o_b_a_n": {
      "name": "社團法人中華民國晴天社會福利協會",
      "code": "9595995",
      "short_name": "晴天協會",
      "tax_id": "26661737",
      "county": "桃園市"
    },
    "source": {
      "business_group_code": "SL24973192",
      "business_type_code": "SLFTP"
    }
  },
  "invoice_tradevan": {
    "tax_id": "24973192",
    "oversea_tax_type": "2",
    "tax_type": "1",
    "n_p_o_b_a_n": {
      "name": "社團法人中華民國晴天社會福利協會",
      "code": "9595995",
      "short_name": "晴天協會",
      "tax_id": "26661737",
      "county": "桃園市"
    },
    "source": {
      "business_group_code": "SL24973192",
      "business_type_code": "SLFTP"
    }
  },
  "enabled_location_id": true,
  "customer_cancel_order": {
    "enabled": true,
    "auto_revert_credit": true
  },
  "customer_return_order": {
    "enabled": true,
    "available_return_days": "7"
  }
}