Swifood API Docs
选择语言
选择语言
  • English
  • 简体中文
选择语言
选择语言
  • English
  • 简体中文
  1. Options
  • Open API Code prompt code list
  • Interface parameter signature process
  • Orders
    • Create Order (General)
      POST
    • Refund Order (General)
      POST
    • Reprint Order Receipt
      POST
    • Calculate Tax
      POST
    • Query Restaurant Orders
      POST
    • Query Order Invoice
      POST
  • Restaurants
    • List Restaurants
  • Order Callback
    • Restaurant Order Push Callback
  • Dish Categories
    • Page through dish categories
    • List dish categories
    • Create or update a dish category
    • Delete a dish category
    • Update a dish category status
    • Update dish category sort orders
    • Save category option settings
  • Options
    • Page through options
    • List options
    • Get option details
    • Create or update an option
    • Delete an option
    • List dishes associated with an option
  • Dishes
    • Page through dishes
    • List dishes
    • Get dish details
    • Create or update a dish
    • Delete a dish
    • Update a dish status
    • Update a dish SKU
    • Delete a dish SKU
    • Batch update dish prices
    • Get dish option settings
    • Save dish option settings
  • Menu Templates
    • Page through menu templates
    • Get menu template details
    • Create or update a menu template
    • Delete a menu template
    • Dispatch a menu template
    • Query menu template dispatch results
  • Common Files
    • Upload a dish image
  • 数据模型
    • order
      • ProductInput
      • CreateOrderParam
      • CreateOrderData
      • CreateOrderResponse
      • RefundParam
      • PrintParam
      • TaxCalculateParam
      • TaxItem
      • TaxResponse
      • OrderListParam
      • InvoiceParam
      • OrderListResponse
      • InvoiceJson
      • OrderOption
      • OrderData
      • OrderPushParam
      • OrderSku
      • OptionItem
    • restaurant
      • Restaurant
      • RestaurantListResponse
    • Common
      • SignedRequest
      • ApiResponse
      • PageParam
      • ValidStatus
    • Dish Categories
      • CategoryPageApiResponse
      • CategoryListApiResponse
      • CategoryPageData
      • CategoryApiResp
      • CategoryPageParam
      • CategoryListParam
      • CategorySaveParam
      • CategoryOptionSaveParam
    • Options
      • OptionPageApiResponse
      • OptionListApiResponse
      • OptionDetailApiResponse
      • OptionProductListApiResponse
      • OptionPageData
      • OptionApiResp
      • OptionItemApiResp
      • OptionProductApiResp
      • OptionSaveParam
      • OptionItemCreateParam
      • OptionItemUpdateParam
      • OptionItemDeleteParam
      • OptionProductListParam
      • OptionItemLinkParam
    • Dishes
      • ProductPageApiResponse
      • ProductListApiResponse
      • ProductDetailApiResponse
      • ProductOptionApiResponse
      • ProductPageData
      • ProductApiResp
      • ProductDetailApiResp
      • ProductSpecApiResp
      • ProductSpecItemApiResp
      • ProductSkuApiResp
      • ProductDetailOptionApiResp
      • ProductOptionLinkApiResp
      • ProductQueryParam
      • ProductSaveParam
      • ProductSpecParam
      • ProductStatusParam
      • ProductSkuParam
      • PriceBatchUpdateParam
      • ProductOptionSaveParam
    • Menu Templates
      • TemplatePageApiResponse
      • TemplateDetailApiResponse
      • TemplateDispatchApiResponse
      • TemplateDispatchQueryApiResponse
      • TemplatePageData
      • TemplateApiResp
      • TemplateDetailApiResp
      • TemplateProductApiResp
      • TemplatePermissionApiResp
      • TemplateBranchApiResp
      • TemplateDispatchApiResp
      • TemplateDispatchQueryApiResp
      • TemplatePageParam
      • TemplateSaveParam
      • TemplatePermissionParam
      • TemplateDispatchParam
    • Common Files
      • SignedAppRequest
      • SignedStoreRequest
      • ApiError
      • BooleanResponse
      • UploadFileApiResponse
      • UploadFileApiResp
      • UploadFileParam
  1. Options

OptionPageData

{
    "total": 0,
    "list": [
        {
            "optionNo": "string",
            "name": "string",
            "requiredType": 1,
            "choiceType": 1,
            "remark": "string",
            "link": true,
            "sort": 0,
            "linkOptionItemNos": [
                "string"
            ],
            "recommendedOptionItemNo": "string",
            "optionItems": [
                {
                    "optionItemNo": "string",
                    "productOptionItemNo": "string",
                    "name": "string",
                    "price": 0,
                    "sort": 0,
                    "recommendedStatus": 1
                }
            ],
            "createTime": "string",
            "updateTime": "string"
        }
    ]
}
Built with