Inventory_purchase Deprecated

DELETE /inventory/purchase/{carrier}

Cancel purchase orders with third party logistics company.

Path parameters

Query parameters

Responses

DELETE /inventory/purchase/{carrier}
curl \
 -X DELETE https://nomad.samarkand-global.cn/pilot/inventory/purchase/{carrier}?purchase_order_no=string \
 -H "x-ca-key: $API_KEY"
Response examples (200)
{
  "code": 42,
  "message": "string",
  "connectorResponses": [
    {
      "input": "{\"product_id\": 12121}",
      "mappingName": "GetProductOp",
      "api": [
        "string"
      ],
      "httpRequestRawData": "-",
      "code": 42,
      "response": "string",
      "responseEn": "string",
      "platform": "youzan",
      "requestCount": 1,
      "responseTime": 1000
    }
  ],
  "products": [
    {
      "merchantGoodsNo": "string",
      "platformGoodsNo": "string",
      "warehouseGoodsNo": "string",
      "barcodes": "string",
      "thirdCategoryNo": "string",
      "goodsName": "string",
      "shopNo": "string",
      "stockStatus": "string",
      "stockType": "string",
      "totalNum": "string",
      "usableNum": "string",
      "recordCount": "string",
      "brandName": "string",
      "manufacturer": "string",
      "produceAddress": "string",
      "grossWeight": 42.0,
      "netWeight": 42.0,
      "safeDays": 42,
      "adventDay": 42
    }
  ],
  "purchases": [
    {
      "warehousePurchaseNo": "string",
      "warehouseGoodsNo": "string",
      "supplierNo": "string",
      "poOrderStatus": "string",
      "storageStatus": "string",
      "createTime": "string",
      "completeTime": "string",
      "productName": "string",
      "receiveBoxNumber": "string",
      "grossWeight": "string",
      "volume": "string",
      "poItems": [
        {
          "goodsNo": "string",
          "goodsName": "string",
          "goodsStatus": "string",
          "serialNo": "string",
          "numApplication": "string",
          "unQualifiedQty": "string",
          "qualifiedQty": "string",
          "realInstoreQty": "string",
          "shortQty": "string",
          "damagedQty": "string",
          "emptyQty": "string",
          "expiredQty": "string",
          "otherQty": "string",
          "goodsDamagedQty": "string",
          "deformedQty": "string",
          "errorQty": "string",
          "excessQty": "string",
          "barcodeScanFailQty": "string",
          "expirationDateErrorQty": "string",
          "barcodeErrorQty": "string",
          "pollutionQty": "string",
          "markUnclearQty": "string",
          "remark": "string",
          "orderLine": "string",
          "realGoodsStatus": "string",
          "realGoodsLevel": "string",
          "checkResultStr": "string",
          "errReason": "string",
          "qcTimeStr": "string",
          "batchCode": "string",
          "isvGoodsNo": "string"
        }
      ],
      "qcQualifiedItems": [
        {
          "goodsNo": "string",
          "goodsName": "string",
          "goodsStatus": "string",
          "serialNo": "string",
          "numApplication": "string",
          "unQualifiedQty": "string",
          "qualifiedQty": "string",
          "realInstoreQty": "string",
          "shortQty": "string",
          "damagedQty": "string",
          "emptyQty": "string",
          "expiredQty": "string",
          "otherQty": "string",
          "goodsDamagedQty": "string",
          "deformedQty": "string",
          "errorQty": "string",
          "excessQty": "string",
          "barcodeScanFailQty": "string",
          "expirationDateErrorQty": "string",
          "barcodeErrorQty": "string",
          "pollutionQty": "string",
          "markUnclearQty": "string",
          "remark": "string",
          "orderLine": "string",
          "realGoodsStatus": "string",
          "realGoodsLevel": "string",
          "checkResultStr": "string",
          "errReason": "string",
          "qcTimeStr": "string",
          "batchCode": "string",
          "isvGoodsNo": "string"
        }
      ],
      "qcUnqualifiedItems": [
        {
          "goodsNo": "string",
          "goodsName": "string",
          "goodsStatus": "string",
          "serialNo": "string",
          "numApplication": "string",
          "unQualifiedQty": "string",
          "qualifiedQty": "string",
          "realInstoreQty": "string",
          "shortQty": "string",
          "damagedQty": "string",
          "emptyQty": "string",
          "expiredQty": "string",
          "otherQty": "string",
          "goodsDamagedQty": "string",
          "deformedQty": "string",
          "errorQty": "string",
          "excessQty": "string",
          "barcodeScanFailQty": "string",
          "expirationDateErrorQty": "string",
          "barcodeErrorQty": "string",
          "pollutionQty": "string",
          "markUnclearQty": "string",
          "remark": "string",
          "orderLine": "string",
          "realGoodsStatus": "string",
          "realGoodsLevel": "string",
          "checkResultStr": "string",
          "errReason": "string",
          "qcTimeStr": "string",
          "batchCode": "string",
          "isvGoodsNo": "string"
        }
      ]
    }
  ]
}