Xóa đơn hàng cho đối tác
curl --request DELETE \
--url https://seller.hogotopod.com/api/v1/partner/order/{orderCode} \
--header 'X-Tenant: <api-key>'const options = {method: 'DELETE', headers: {'X-Tenant': '<api-key>'}};
fetch('https://seller.hogotopod.com/api/v1/partner/order/{orderCode}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/partner/order/{orderCode}"
headers = {"X-Tenant": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.delete("https://seller.hogotopod.com/api/v1/partner/order/{orderCode}")
.header("X-Tenant", "<api-key>")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"result": {
"customerCode": "<string>",
"customerUsername": "<string>",
"address": {
"addressText2": {
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"details": "123 Main St"
},
"city": "<string>",
"country": "<string>",
"details": "<string>",
"state": "<string>",
"zip": "<string>",
"iossCode": "IM3720000222"
},
"amount": 123,
"amountCustomerDebit": 123,
"amountCustomerPayed": 123,
"amountCustomerRefunded": 123,
"amountDiscount": 123,
"amountProduct": 123,
"amountProductCost": 123,
"amountProductCostExchanged": 123,
"amountProductExchanged": 123,
"amountTransport": 123,
"amountTransportPaid": 123,
"amountTransportProfit": 123,
"carriers": [
{
"lastMileCode": "<string>",
"lastMileName": "<string>",
"lastMileSite": "<string>",
"phoneNumber": "<string>",
"trackingNumber": "<string>",
"waybillNumber": "<string>"
}
],
"cmsNote": "<string>",
"code": "<string>",
"completed": true,
"completedTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"createdMode": "API",
"customerCanEdit": true,
"customerDisplayStatus": "CANCEL",
"customerDisplayStatusName": "<string>",
"customerEmail": "<string>",
"customerName": "<string>",
"customerNote": "<string>",
"customerPhone": "<string>",
"defaultWarehouseCode": "<string>",
"deliveryInformation": {},
"depositPercent": 123,
"depositedAmountProduct": true,
"depositedDate": "2023-11-07T05:31:56Z",
"designFailed": {
"failed": true,
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"reason": "<string>"
},
"embroideryHold": true,
"employeeNote": "<string>",
"employeeNotes": [
{
"content": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"employeeName": "<string>",
"employeeUsername": "<string>",
"type": "<string>",
"unitType": "<string>"
}
],
"feeMode": "VOLUME",
"feeModeValue": 123,
"feePriceConfirm": {
"amountDelta": 123,
"histories": [
{
"action": "<string>",
"amountDelta": 123,
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
}
],
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pending": true,
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
},
"fees": [
{
"baseValue": 123,
"baseValueSubValueFormula": 123,
"code": "<string>",
"customPrice": true,
"data": {},
"description": "<string>",
"employeeLockMode": 123,
"fixedCustomPrice": true,
"icon": "<string>",
"id": "<string>",
"lockCheck": 123,
"lockUnChecked": 123,
"name": "<string>",
"orderCode": "<string>",
"orderNo": 123,
"productCode": "<string>",
"promotion": {
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
},
"readonly": true,
"showMode": 123,
"targetFeeCode": "<string>",
"use": true,
"value": 123,
"valueConfig": 123,
"valueConfigUnit": "<string>",
"valueCustomPrice": 123,
"valuePromotion": 123
}
],
"firstTimeDeposited": "2023-11-07T05:31:56Z",
"firstTimePaid": "2023-11-07T05:31:56Z",
"fixDepositPercent": true,
"fixRate": true,
"historyDiscounts": [
{
"code": "<string>",
"content": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"currency": "<string>",
"employeeCode": "<string>",
"moneyAmount": 123
}
],
"historyStatuses": [
{
"date": "2023-11-07T05:31:56Z",
"employee": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"note": "<string>",
"orderCode": "<string>",
"status": "CANCEL"
}
],
"id": "<string>",
"labels": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"lastModifiedBy": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"mode": "<string>",
"orderProductTypes": [
"EMBROIDERY"
],
"orderType": "FULFILLMENT",
"printCodeCount": 123,
"printShippingLabelCount": 123,
"products": [
{
"designAttachments": [
{
"design": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"dstFile": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"fabricPatterns": [
{
"categories": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"code": "<string>",
"description": "<string>",
"id": "<string>",
"image": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"stitchCount": 123,
"threadColorCount": 123,
"url": "<string>"
},
"name": "<string>",
"orderNo": 123,
"sku": "<string>",
"status": "DISABLED",
"thumbnailUrl": "<string>"
}
],
"glitterColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"mockup": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"note": "<string>",
"position": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"stitchCount": 123,
"threadColorCount": 123,
"threadColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"yarnColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
]
}
],
"orderCode": "<string>",
"price": 1,
"productCode": "<string>",
"quantity": 2,
"amount": 123,
"amountCNY": 123,
"category": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"cmsNote": "<string>",
"code": "<string>",
"color": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"cutQCStatus": "FAILED",
"cutStatus": "CANCELED",
"designAttachmentHistories": [
{
"action": "CREATE",
"attachmentIndex": 123,
"changeType": "<string>",
"changedBy": "<string>",
"changedByName": "<string>",
"changedDate": "2023-11-07T05:31:56Z",
"newValue": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"note": "<string>",
"oldValue": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"positionName": "<string>"
}
],
"designFailed": {
"failed": true,
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"reason": "<string>"
},
"designStatus": "CANCELED",
"embroideryBlankPrepared": true,
"embroideryQCStatus": "FAILED",
"embroideryStatus": "CANCELED",
"employeeNote": "<string>",
"fabric": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"feeCodes": [
"<string>"
],
"feePriceConfirm": {
"amountDelta": 123,
"histories": [
{
"action": "<string>",
"amountDelta": 123,
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
}
],
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pending": true,
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
},
"feePriceConfirmPending": true,
"feePriceConfirmStatus": "<string>",
"hsCode": "<string>",
"hsName": "<string>",
"id": "<string>",
"lastModifiedBy": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"mockupImage": "<string>",
"name": "<string>",
"packagingQCStatus": "FAILED",
"packagingStatus": "CANCELED",
"packed": true,
"position": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"priceCost": 123,
"print3dMissingDesign": true,
"printCodeCount": 123,
"printStatus": "CANCELED",
"productType": "EMBROIDERY",
"readyForPackaging": true,
"readyForSewing": true,
"sewingQCStatus": "FAILED",
"sewingStatus": "CANCELED",
"sizeCost": {
"hashSize": "<string>",
"physicalSize": {
"actualWeight": 123,
"height": 123,
"length": 123,
"weight": 123,
"width": 123
},
"price": 123,
"priceCost": 123,
"size": "<string>",
"sizeMockupImage": "<string>"
},
"sku": "<string>",
"sleeveNumber": 123,
"stageFailNotes": {},
"status": "CANCELLED",
"statusHistories": [
{
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"cutStatus": "CANCELED",
"designStatus": "CANCELED",
"embroideryQCStatus": "FAILED",
"embroideryStatus": "CANCELED",
"note": "<string>",
"packagingQCStatus": "FAILED",
"packagingStatus": "CANCELED",
"printStatus": "CANCELED",
"sewingStatus": "CANCELED",
"status": "CANCELLED"
}
],
"stockIssuedAt": "2023-11-07T05:31:56Z",
"stockReservedAt": "2023-11-07T05:31:56Z",
"stockReturnedAt": "2023-11-07T05:31:56Z",
"stockSlipOutCode": "<string>",
"stockSlipReturnCode": "<string>",
"tenant": "<string>",
"textSearch": "<string>",
"totalFeeProduct": 123,
"totalFeeShipProduct": 123,
"warehouseCode": "<string>"
}
],
"promotion": {
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
},
"promotions": [
{
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
}
],
"rate": 123,
"rateCode": "<string>",
"reasonCancel": "<string>",
"reasonCancelCode": "<string>",
"receivedDate": "2023-11-07T05:31:56Z",
"recipient": {
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"note": "<string>",
"phone": "<string>"
},
"referenceCode": "<string>",
"refundHistories": [
{
"amount": 123,
"createdBy": "<string>",
"createdByName": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"reasonCode": "<string>",
"reasonNote": "<string>",
"refundType": "<string>",
"type": "<string>"
}
],
"remainingPackages": true,
"sale": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"serviceCodes": [
"<string>"
],
"shippingLabel": {
"needScanLabel": false,
"contentType": "<string>",
"labelScanned": true,
"labelUrl": "<string>",
"labelUrlTiktok": "<string>",
"providerCode": "<string>",
"trackingNumber": "<string>",
"trackingNumberByTiktok": "<string>",
"type": "PARTNER"
},
"shippingLabelPending": true,
"shippingMethod": "HOGOTOFAST",
"status": "CANCEL",
"statusValue": 123,
"support": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"tenant": "<string>",
"textSearch": "<string>",
"totalFee": 123,
"totalQuantity": 123,
"totalVolume": 123,
"totalWeight": 123,
"totalWeightActual": 123,
"totalWeightConverted": 123,
"vip": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"warehouseNote": "<string>"
},
"showMessage": true
}Partner Orders
Xóa đơn hàng cho đối tác
DELETE
/
v1
/
partner
/
order
/
{orderCode}
Xóa đơn hàng cho đối tác
curl --request DELETE \
--url https://seller.hogotopod.com/api/v1/partner/order/{orderCode} \
--header 'X-Tenant: <api-key>'const options = {method: 'DELETE', headers: {'X-Tenant': '<api-key>'}};
fetch('https://seller.hogotopod.com/api/v1/partner/order/{orderCode}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/partner/order/{orderCode}"
headers = {"X-Tenant": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.delete("https://seller.hogotopod.com/api/v1/partner/order/{orderCode}")
.header("X-Tenant", "<api-key>")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"result": {
"customerCode": "<string>",
"customerUsername": "<string>",
"address": {
"addressText2": {
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"details": "123 Main St"
},
"city": "<string>",
"country": "<string>",
"details": "<string>",
"state": "<string>",
"zip": "<string>",
"iossCode": "IM3720000222"
},
"amount": 123,
"amountCustomerDebit": 123,
"amountCustomerPayed": 123,
"amountCustomerRefunded": 123,
"amountDiscount": 123,
"amountProduct": 123,
"amountProductCost": 123,
"amountProductCostExchanged": 123,
"amountProductExchanged": 123,
"amountTransport": 123,
"amountTransportPaid": 123,
"amountTransportProfit": 123,
"carriers": [
{
"lastMileCode": "<string>",
"lastMileName": "<string>",
"lastMileSite": "<string>",
"phoneNumber": "<string>",
"trackingNumber": "<string>",
"waybillNumber": "<string>"
}
],
"cmsNote": "<string>",
"code": "<string>",
"completed": true,
"completedTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"createdMode": "API",
"customerCanEdit": true,
"customerDisplayStatus": "CANCEL",
"customerDisplayStatusName": "<string>",
"customerEmail": "<string>",
"customerName": "<string>",
"customerNote": "<string>",
"customerPhone": "<string>",
"defaultWarehouseCode": "<string>",
"deliveryInformation": {},
"depositPercent": 123,
"depositedAmountProduct": true,
"depositedDate": "2023-11-07T05:31:56Z",
"designFailed": {
"failed": true,
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"reason": "<string>"
},
"embroideryHold": true,
"employeeNote": "<string>",
"employeeNotes": [
{
"content": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"employeeName": "<string>",
"employeeUsername": "<string>",
"type": "<string>",
"unitType": "<string>"
}
],
"feeMode": "VOLUME",
"feeModeValue": 123,
"feePriceConfirm": {
"amountDelta": 123,
"histories": [
{
"action": "<string>",
"amountDelta": 123,
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
}
],
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pending": true,
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
},
"fees": [
{
"baseValue": 123,
"baseValueSubValueFormula": 123,
"code": "<string>",
"customPrice": true,
"data": {},
"description": "<string>",
"employeeLockMode": 123,
"fixedCustomPrice": true,
"icon": "<string>",
"id": "<string>",
"lockCheck": 123,
"lockUnChecked": 123,
"name": "<string>",
"orderCode": "<string>",
"orderNo": 123,
"productCode": "<string>",
"promotion": {
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
},
"readonly": true,
"showMode": 123,
"targetFeeCode": "<string>",
"use": true,
"value": 123,
"valueConfig": 123,
"valueConfigUnit": "<string>",
"valueCustomPrice": 123,
"valuePromotion": 123
}
],
"firstTimeDeposited": "2023-11-07T05:31:56Z",
"firstTimePaid": "2023-11-07T05:31:56Z",
"fixDepositPercent": true,
"fixRate": true,
"historyDiscounts": [
{
"code": "<string>",
"content": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"currency": "<string>",
"employeeCode": "<string>",
"moneyAmount": 123
}
],
"historyStatuses": [
{
"date": "2023-11-07T05:31:56Z",
"employee": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"note": "<string>",
"orderCode": "<string>",
"status": "CANCEL"
}
],
"id": "<string>",
"labels": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"lastModifiedBy": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"mode": "<string>",
"orderProductTypes": [
"EMBROIDERY"
],
"orderType": "FULFILLMENT",
"printCodeCount": 123,
"printShippingLabelCount": 123,
"products": [
{
"designAttachments": [
{
"design": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"dstFile": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"fabricPatterns": [
{
"categories": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"code": "<string>",
"description": "<string>",
"id": "<string>",
"image": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"stitchCount": 123,
"threadColorCount": 123,
"url": "<string>"
},
"name": "<string>",
"orderNo": 123,
"sku": "<string>",
"status": "DISABLED",
"thumbnailUrl": "<string>"
}
],
"glitterColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"mockup": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"note": "<string>",
"position": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"stitchCount": 123,
"threadColorCount": 123,
"threadColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
],
"yarnColors": [
{
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
}
]
}
],
"orderCode": "<string>",
"price": 1,
"productCode": "<string>",
"quantity": 2,
"amount": 123,
"amountCNY": 123,
"category": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"cmsNote": "<string>",
"code": "<string>",
"color": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"cutQCStatus": "FAILED",
"cutStatus": "CANCELED",
"designAttachmentHistories": [
{
"action": "CREATE",
"attachmentIndex": 123,
"changeType": "<string>",
"changedBy": "<string>",
"changedByName": "<string>",
"changedDate": "2023-11-07T05:31:56Z",
"newValue": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"note": "<string>",
"oldValue": {
"contentType": "<string>",
"name": "<string>",
"size": 123,
"sizeName": "<string>",
"url": "<string>"
},
"positionName": "<string>"
}
],
"designFailed": {
"failed": true,
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"reason": "<string>"
},
"designStatus": "CANCELED",
"embroideryBlankPrepared": true,
"embroideryQCStatus": "FAILED",
"embroideryStatus": "CANCELED",
"employeeNote": "<string>",
"fabric": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"feeCodes": [
"<string>"
],
"feePriceConfirm": {
"amountDelta": 123,
"histories": [
{
"action": "<string>",
"amountDelta": 123,
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
}
],
"lastUpdatedBy": "<string>",
"lastUpdatedDate": "2023-11-07T05:31:56Z",
"note": "<string>",
"pending": true,
"pendingFees": [
{
"customPrice": true,
"feeCode": "<string>",
"feeName": "<string>",
"previousCustomPrice": true,
"previousUse": true,
"previousValue": 123,
"previousValueCustomPrice": 123,
"productCode": "<string>",
"valueCustomPrice": 123
}
],
"status": "<string>"
},
"feePriceConfirmPending": true,
"feePriceConfirmStatus": "<string>",
"hsCode": "<string>",
"hsName": "<string>",
"id": "<string>",
"lastModifiedBy": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"mockupImage": "<string>",
"name": "<string>",
"packagingQCStatus": "FAILED",
"packagingStatus": "CANCELED",
"packed": true,
"position": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"priceCost": 123,
"print3dMissingDesign": true,
"printCodeCount": 123,
"printStatus": "CANCELED",
"productType": "EMBROIDERY",
"readyForPackaging": true,
"readyForSewing": true,
"sewingQCStatus": "FAILED",
"sewingStatus": "CANCELED",
"sizeCost": {
"hashSize": "<string>",
"physicalSize": {
"actualWeight": 123,
"height": 123,
"length": 123,
"weight": 123,
"width": 123
},
"price": 123,
"priceCost": 123,
"size": "<string>",
"sizeMockupImage": "<string>"
},
"sku": "<string>",
"sleeveNumber": 123,
"stageFailNotes": {},
"status": "CANCELLED",
"statusHistories": [
{
"createdBy": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"cutStatus": "CANCELED",
"designStatus": "CANCELED",
"embroideryQCStatus": "FAILED",
"embroideryStatus": "CANCELED",
"note": "<string>",
"packagingQCStatus": "FAILED",
"packagingStatus": "CANCELED",
"printStatus": "CANCELED",
"sewingStatus": "CANCELED",
"status": "CANCELLED"
}
],
"stockIssuedAt": "2023-11-07T05:31:56Z",
"stockReservedAt": "2023-11-07T05:31:56Z",
"stockReturnedAt": "2023-11-07T05:31:56Z",
"stockSlipOutCode": "<string>",
"stockSlipReturnCode": "<string>",
"tenant": "<string>",
"textSearch": "<string>",
"totalFeeProduct": 123,
"totalFeeShipProduct": 123,
"warehouseCode": "<string>"
}
],
"promotion": {
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
},
"promotions": [
{
"code": "<string>",
"conditionExpr": "<string>",
"description": "<string>",
"fromTime": "2023-11-07T05:31:56Z",
"groupCode": "<string>",
"groupName": "<string>",
"name": "<string>",
"toTime": "2023-11-07T05:31:56Z",
"value": {
"feeCode": "<string>",
"percent": 123,
"promotionType": "FEE_FREE",
"value": 123,
"valueMax": 123
}
}
],
"rate": 123,
"rateCode": "<string>",
"reasonCancel": "<string>",
"reasonCancelCode": "<string>",
"receivedDate": "2023-11-07T05:31:56Z",
"recipient": {
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"note": "<string>",
"phone": "<string>"
},
"referenceCode": "<string>",
"refundHistories": [
{
"amount": 123,
"createdBy": "<string>",
"createdByName": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"reasonCode": "<string>",
"reasonNote": "<string>",
"refundType": "<string>",
"type": "<string>"
}
],
"remainingPackages": true,
"sale": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"serviceCodes": [
"<string>"
],
"shippingLabel": {
"needScanLabel": false,
"contentType": "<string>",
"labelScanned": true,
"labelUrl": "<string>",
"labelUrlTiktok": "<string>",
"providerCode": "<string>",
"trackingNumber": "<string>",
"trackingNumberByTiktok": "<string>",
"type": "PARTNER"
},
"shippingLabelPending": true,
"shippingMethod": "HOGOTOFAST",
"status": "CANCEL",
"statusValue": 123,
"support": {
"ancestorsDepartmentCode": [
"<string>"
],
"assignedDate": "2023-11-07T05:31:56Z",
"avatar": "<string>",
"code": "<string>",
"departmentCode": "<string>",
"departmentRole": "MANAGER",
"fullName": "<string>",
"phone": "<string>",
"titleCode": "<string>",
"username": "<string>"
},
"tenant": "<string>",
"textSearch": "<string>",
"totalFee": 123,
"totalQuantity": 123,
"totalVolume": 123,
"totalWeight": 123,
"totalWeightActual": 123,
"totalWeightConverted": 123,
"vip": {
"code": "<string>",
"color": "<string>",
"data": {},
"description": "<string>",
"descriptionTranslations": {},
"group": "<string>",
"name": "<string>",
"nameTranslations": {}
},
"warehouseNote": "<string>"
},
"showMessage": true
}Authorizations
X-TenantX-API-Key
Path Parameters
orderCode