swifood-ph
Languages
Languages
  • English
  • 简体中文
Languages
Languages
  • English
  • 简体中文
    • 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
    • 数据模型
      • SignedAppRequest
      • SignedStoreRequest
      • ApiError
      • BooleanResponse
      • ProductInput
      • CreateOrderParam
      • CreateOrderData
      • CreateOrderResponse
      • RefundParam
      • PrintParam
      • TaxCalculateParam
      • TaxItem
      • TaxResponse
      • OrderListParam
      • OptionItem
      • OrderOption
      • OrderSku
      • OrderData
      • OrderListResponse
      • OrderPushParam
      • InvoiceParam
      • InvoiceJson
      • Restaurant
      • RestaurantListResponse

    CreateOrderParam

    {
        "productInfo": [
            {
                "productName": "coffee",
                "price": 100,
                "quantity": 1,
                "discountAmount": 1
            }
        ],
        "serviceFee": 0,
        "orderType": 1,
        "paymentWay": "1",
        "pickUpNum": "string",
        "merchantDeliveryFee": 0,
        "deliveryFee": 0,
        "packingFee": 0,
        "userName": "string",
        "userPhone": "string",
        "userAddress": "string",
        "customPrintContext": "string",
        "paymentChannel": "string",
        "paymentTransactionId": "string",
        "paymentAmount": 0,
        "discountAmount": 0,
        "discountType": "1",
        "promoDiscountType": 1,
        "discountNo": "string",
        "discounterName": "string",
        "discountValidityPeriod": "2025-01-01",
        "childName": "string",
        "childBirthDate": "2015-01-01",
        "transactionFee": 0,
        "transactionFeeType": 1,
        "transactionId": "string",
        "paymentPlatform": "Paycools",
        "transactionCreateTime": "2025-01-01 00:00:00",
        "transactionReturnTime": "2025-01-01 00:00:00"
    }
    Built with