Swifood API Docs
选择语言
选择语言
  • English
  • 简体中文
选择语言
选择语言
  • English
  • 简体中文
  1. Dishes
  • Open API Code prompt code list
  • Interface parameter signature process
  • Orders
    • Create Order (General)
    • Refund Order (General)
    • Reprint Order Receipt
    • Calculate Tax
    • Query Restaurant Orders
    • Query Order Invoice
  • 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. Dishes

ProductDetailApiResponse

{
    "code": "string",
    "message": "string",
    "data": {
        "restaurantNo": "string",
        "productNo": "string",
        "name": "string",
        "brief": "string",
        "description": "string",
        "sort": "string",
        "variant": 1,
        "soldOut": 1,
        "menuImgUrl": "string",
        "menuImgUrlOssUrl": "string",
        "detailImgUrl": "string",
        "detailImgUrlOssUrl": "string",
        "specList": [
            {
                "name": "string",
                "sort": 0,
                "specNo": "string",
                "dishProductSpecItemList": [
                    {
                        "specItemNo": "string",
                        "name": "string",
                        "price": 0,
                        "sort": 0,
                        "skuNo": "string",
                        "skuVersion": 0,
                        "skuName": "string",
                        "soldOut": 1
                    }
                ]
            }
        ],
        "optionList": [
            {
                "name": "string",
                "optionNo": "string",
                "requiredType": 1,
                "choiceType": 1,
                "remark": "string",
                "optionItemList": [
                    {
                        "optionItemNo": "string",
                        "productOptionItemNo": "string",
                        "name": "string",
                        "price": 0,
                        "sort": 0,
                        "recommendedStatus": 1
                    }
                ]
            }
        ]
    }
}
Built with