单据生成接口

  1. {
  2. "afterskuname":"string",
  3. "beforeskuname":"string",
  4. "createdat":"2022-03-15T08:13:44.526Z",
  5. "createdby":"string",
  6. "id":0,
  7. (必有值)"itemdtolist":[
  8. {
  9. "barcode":"string"(商品条码),
  10. "categoryid":"string",
  11. "categoryname":"string"(后端分类),
  12. "weightflag": false(是否称重商品(1-称重 0-非称重)),
  13. "conversionquantity":0(转换数量),
  14. "conversiontype":"string"(before-转换前商品;after-转换后商品 ErpSkuConversionTypeEnum),
  15. "instantcostprice":0(当时成本价),
  16. "salesunit":"string"(销售单位),
  17. "skucode":"string"(商品编码),
  18. "skuconversionid":0(商品转换单号),
  19. "skutype":0(商品类型),
  20. "spec":"string"(规格 例如:XL 白色 圆领),
  21. "skuname":"string",
  22. "id":0,
  23. "tenantid":"string",
  24. "createdat":"2022-03-15T08:13:44.526Z",
  25. "createdby":"string",
  26. "updatedat":"2022-03-15T08:13:44.526Z",
  27. "updatedby":"string",
  28. }
  29. ],
  30. "shopid":"string"(店铺id:转换时某个店铺行为),
  31. "shopname":"string",
  32. "skuamount":0(商品总数),
  33. "tenantid":"string",
  34. "updatedat":"2022-03-15T08:13:44.526Z",
  35. "updatedby":"string"
  36. }