orderDetail 端點用於安全地檢索通過 Zonos Checkout 完成的訂單的詳情和狀態。
orderDetail
注意: 回應鍵可能會被修改和/或添加其他鍵。如果您將使用此端點,請設置您的代碼以適應這些可能性。
https://api.iglobalstores.com/v2/orderDetail
orderId
referenceId
整數/字符串
createTempCart
字符串
secret
storeId
整數
error
order
JSON 字符串
order.billingZip
orderboxCount
order.carrierAccountNumber
order.carrierAccountShippingMethod
order.cslListMatch
布爾值
order.customerSelectedShippingName
order.dutyTaxesBreakdown
order.dutyTaxesBreakdown.brokerageFee
order.dutyTaxesBreakdown.dispursementFee
order.dutyTaxesBreakdown.duty
order.dutyTaxesBreakdown.prepaymentFee
order.dutyTaxesBreakdown.vatOnDispursementFee
order.dutyTaxesBreakdown.vatTax
order.dutyTaxesTotal
order.foreignCurrencyCode
remittance_amount
小數
order.grandTotal
order.grandTotalForeign
order.items
order.itemsCount
order.itemsTotal
order.itemsTotalForeign
order.items[index].height
order.items[index].itemNonShippable
order.items[index].length
order.items[index].quantity
order.items[index].weight
order.items[index].width
order.items[index].unitPrice
order.merchantOrderId
MerchantOrderId
order.misc1
order.misc2
order.misc3
order.misc4
order.misc5
order.misc6
order.nationalIdentifier
order.notes
order.notes[index].createdByUser
order.notes[index].customerNote
order.notes[index].dateCreated
毫秒
order.notes[index].dateCreatedString
order.notes[index].flagged
order.notes[index].note
order.optInEmail
order.orderId
order.orderDate
order.orderDateString
order.orderStatus
orderStatus
order.orderStatusDate
order.orderStatusDateString
order.paymentProcessing
paymentProcessing
order.paymentProcessing.captureDate
order.paymentProcessing.captureDateString
order.paymentProcessing.cardType
order.paymentProcessing.lastFour
order.paymentProcessing.paymentGateway
order.paymentProcessing.transactionType
order.poNumber
order.quotedDutyTaxes
order.quotedDutyTaxesForeign
order.referenceId
order.shipComplete
order.shippingCarrierServiceLevel
order.shippingInstructions
order.shippingTotal
order.shippingTotalForeign
order.testOrder
order.trackingNumber
order.zip
order.address1
order.address2
order.address3
order.altPhone
order.billingAddress1
order.billingAddress2
order.billingAddress3
order.billingAltPhone
order.billingCity
order.birthDate
order.billingCompany
order.billingCountryCode
order.billingCountryName
order.billingEmail
order.billingName
order.billingPhone
order.billingState
order.city
order.company
order.countryCode
order.countryName
order.email
order.items[index].countryOfOrigin
order.items[index].description
order.items[index].imageURL
order.items[index].itemBrand
order.items[index].itemCategory
order.items[index].itemColor
order.items[index].itemCustomization
order.items[index].itemDescriptionDetailed
order.items[index].itemDescriptionLong
order.items[index].itemFabricContent
order.items[index].itemHSCode
order.items[index].itemLtlClass
order.items[index].itemMaterial
order.items[index].itemURL
order.items[index].productId
order.items[index].sku
order.items[index].weightUnits
order.name
order.phone
order.state
訂單詳情
訂單詳情
了解訂單詳情端點的工作原理。orderDetail端點用於安全地檢索通過 Zonos Checkout 完成的訂單的詳情和狀態。端點
POST |
https://api.iglobalstores.com/v2/orderDetailHTTPS 請求
https://api.iglobalstores.com/v2/orderDetail請求正文中的 JSON 鍵/值對
orderId可選,如果傳遞referenceId參數整數/字符串referenceId可選,如果傳遞 "orderId" 參數createTempCartAPI 服務端點中傳遞的唯一referenceId查找訂單數據。當打算根據orderId參數查找訂單詳情時,應省略此參數或將其設置為空。字符串secret必需字符串storeId必需整數錯誤 HTTP 回應
回應 JSON 定義
error字符串orderJSON 字符串order.billingZip字符串orderboxCount字符串order.carrierAccountNumber字符串order.carrierAccountShippingMethod字符串order.cslListMatch布爾值order.customerSelectedShippingName字符串order.dutyTaxesBreakdownJSON 字符串order.dutyTaxesBreakdown.brokerageFee整數order.dutyTaxesBreakdown.dispursementFee整數order.dutyTaxesBreakdown.duty整數order.dutyTaxesBreakdown.prepaymentFee整數order.dutyTaxesBreakdown.vatOnDispursementFee整數order.dutyTaxesBreakdown.vatTax整數order.dutyTaxesTotal整數order.foreignCurrencyCode字符串remittance_amount小數order.grandTotal整數order.grandTotalForeign整數order.itemsJSON 字符串order.itemsCount整數order.itemsTotal整數order.itemsTotalForeign整數order.items[index].height整數order.items[index].itemNonShippable布爾值order.items[index].length整數order.items[index].quantity整數order.items[index].weight整數order.items[index].width整數order.items[index].unitPrice整數order.merchantOrderIdMerchantOrderId。字符串order.misc1字符串order.misc2字符串order.misc3字符串order.misc4字符串order.misc5字符串order.misc6字符串order.nationalIdentifier字符串order.notesJSON 字符串order.notes[index].createdByUser字符串order.notes[index].customerNote布爾值order.notes[index].dateCreated毫秒order.notes[index].dateCreatedString字符串order.notes[index].flagged布爾值指示此註釋是否被標記為重要order.notes[index].note字符串order.optInEmail布爾值order.orderId字符串order.orderDate毫秒order.orderDateString字符串order.orderStatusorderStatus使用的更多詳情,請查看 檢索訂單文檔。有關訂單狀態的其他資訊可在 更新訂單文檔 中找到。字符串order.orderStatusDateorderStatus變更的時間戳(毫秒),採用 UTC/GMT 格式。毫秒order.orderStatusDateStringorderStatus變更的時間戳字符串,採用 UTC/GMT 格式。字符串order.paymentProcessingpaymentProcessing詳情的映射。某些參數可能不適用於您的帳戶,將從回應中排除。JSON 字符串order.paymentProcessing.captureDate毫秒order.paymentProcessing.captureDateString字符串order.paymentProcessing.cardType字符串order.paymentProcessing.lastFour字符串order.paymentProcessing.paymentGateway字符串order.paymentProcessing.transactionType字符串order.poNumber字符串order.quotedDutyTaxes整數order.quotedDutyTaxesForeign整數order.referenceIdreferenceId。字符串order.shipComplete布爾值order.shippingCarrierServiceLevel字符串order.shippingInstructions字符串order.shippingTotal整數order.shippingTotalForeign整數order.testOrder布爾值order.trackingNumber字符串order.zip字符串其他數據類型:
order.address1order.address2order.address3order.altPhoneorder.billingAddress1order.billingAddress2order.billingAddress3order.billingAltPhoneorder.billingCityorder.birthDateorder.billingCompanyorder.billingCountryCodeorder.billingCountryNameorder.billingEmailorder.billingNameorder.billingPhoneorder.billingStateorder.cityorder.companyorder.countryCodeorder.countryNameorder.emailorder.items[index].countryOfOriginorder.items[index].descriptionorder.items[index].imageURLorder.items[index].itemBrandorder.items[index].itemCategoryorder.items[index].itemColororder.items[index].itemCustomizationorder.items[index].itemDescriptionDetailedorder.items[index].itemDescriptionLongorder.items[index].itemFabricContentorder.items[index].itemHSCodeorder.items[index].itemLtlClassorder.items[index].itemMaterialorder.items[index].itemURLorder.items[index].productIdorder.items[index].skuorder.items[index].productIdorder.items[index].weightUnitsorder.nameorder.phoneorder.state這個頁面有幫助嗎?