### GET /purchase/return/query Source: https://context7_llms Queries for a list of purchase return orders. ```APIDOC ## GET /purchase/return/query ### Description Retrieves a list of purchase return orders. ### Method GET ### Endpoint /purchase/return/query ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /purchase/return/details Source: https://context7_llms Queries for purchase return order details. ```APIDOC ## GET /purchase/return/details ### Description Retrieves detailed information for a purchase return order. ### Method GET ### Endpoint /purchase/return/details ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Get Product Details Source: https://snefo9kkuk.apifox.cn/330568110e0 Retrieves detailed information about a specific product. ```APIDOC ## GET /products/{productId} ### Description Retrieves detailed information about a specific product using its unique identifier. ### Method GET ### Endpoint /products/{productId} ### Parameters #### Path Parameters - **productId** (string) - Required - The unique identifier of the product. ### Response #### Success Response (200) - **type** (string) - The type of the product. - **typeTag** (string) - A tag associated with the product type. - **activeStatus** (boolean) - Indicates if the product is active. - **isVirtual** (boolean) - Indicates if the product is virtual. - **catId** (string) - The category ID of the product. - **picPath** (string) - The path to the product's image. - **purchasePrice** (number) - The purchase price of the product. - **priceOutput** (number) - The price for output. - **weight** (number) - The weight of the product. - **hasSupplier** (boolean) - Indicates if the product has a supplier. - **makeGift** (boolean) - Indicates if the product is a gift. - **unit** (string) - The unit of measurement for the product. - **x** (string) - Placeholder field. - **y** (string) - Placeholder field. - **z** (string) - Placeholder field. - **listTime** (string) - The time the product was listed. - **isSkuItem** (boolean) - Indicates if the product is an SKU item. - **skus** (object) - SKU details for the product. - **created** (string) - The creation timestamp. - **modified** (string) - The modification timestamp. - **purchaseLinkSkuList** (array) - List of purchase link SKUs. - **boxnum** (string) - Box number information. - **sellerCats** (array) - Seller categories. - **classify** (string) - Product classification. - **brand** (string) - The brand of the product. - **standard** (string) - The standard of the product. - **safekind** (string) - Safety kind information. - **shipper** (string) - Shipper information. - **marketPrice** (number) - The market price of the product. - **otherPrice1** (number) - Other price 1. - **otherPrice2** (number) - Other price 2. - **otherPrice3** (number) - Other price 3. - **customAttribute** (object) - Custom attributes of the product. - **remark** (string) - Remarks for the product. #### Response Example ```json { "type": "electronics", "typeTag": "gadget", "activeStatus": true, "isVirtual": false, "catId": "cat123", "picPath": "/images/product.jpg", "purchasePrice": 99.99, "priceOutput": 120.00, "weight": 0.5, "hasSupplier": true, "makeGift": false, "unit": "pcs", "x": "x_value", "y": "y_value", "z": "z_value", "listTime": "2023-01-01T10:00:00Z", "isSkuItem": false, "skus": {}, "created": "2023-01-01T09:00:00Z", "modified": "2023-01-02T11:00:00Z", "purchaseLinkSkuList": [], "boxnum": "BN123", "sellerCats": ["catA", "catB"], "classify": "electronics", "brand": "BrandX", "standard": "Standard1", "safekind": "Safe1", "shipper": "ShipperY", "marketPrice": 150.00, "otherPrice1": 110.00, "otherPrice2": 115.00, "otherPrice3": 125.00, "customAttribute": {}, "remark": "Sample remark." } ``` #### Error Response (400) - **code** (string) - Error code. - **msg** (string) - Error message. - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Request trace ID. #### Error Response Example ```json { "code": "INVALID_ID", "msg": "The provided product ID is invalid.", "success": false, "trace_id": "trace123abc" } ``` ``` -------------------------------- ### Error Response Example Source: https://snefo9kkuk.apifox.cn/330568501e0 This section provides an example of a typical error response from the API, detailing the common fields returned. ```APIDOC ## Error Response ### Description This endpoint returns an error response when a request is malformed or invalid. ### Method N/A (This describes a general error response format) ### Endpoint N/A ### Parameters N/A ### Request Body N/A ### Response #### Error Response (e.g., 400 Bad Request) - **code** (integer) - Error code. - **msg** (string) - Error message describing the issue. - **success** (boolean) - Indicates if the operation was successful (false in case of error). - **trace_id** (string) - Unique identifier for tracing the request. #### Response Example ```json { "code": 400, "msg": "请求参数错误", "success": false, "trace_id": "a1b2c3d4e5f67890" } ``` ``` -------------------------------- ### POST /router/erp/wms/product/stock/query Source: https://snefo9kkuk.apifox.cn/330513507e0 Retrieves a list of platform products with their batch and expiration stock information. Supports filtering by SKU IDs, NumIIDs, TIDs, and pagination. ```APIDOC ## POST /router/erp/wms/product/stock/query ### Description Retrieves a list of platform products with their batch and expiration stock information. Supports filtering by SKU IDs, NumIIDs, TIDs, and pagination. ### Method POST ### Endpoint /router/erp/wms/product/stock/query ### Parameters #### Query Parameters None #### Request Body - **method** (string) - Required - API interface name: erp.wms.product.stock.query - **skuIds** (string) - Optional - Platform SKU ID, comma-separated. Format: 657225306755585,657225306755586 - **numIids** (string) - Optional - Platform NumIID, comma-separated. Format: 657225306712576,657225306712577 - **tids** (string) - Optional - Platform order number, comma-separated. Format: 5248307509112226,5248307509112227 - **userId** (integer) - Optional - Store ID. Format: 900017676 - **pageNo** (integer) - Optional - Page number. Range: integers greater than zero. Default: 1 - **pageSize** (integer) - Optional - Number of items per page. Range: integers greater than zero; Maximum: 1000; Default: 40 ### Request Example ```json { "method": "erp.wms.product.stock.query", "skuIds": "", "numIids": "", "tids": "", "userId": 0, "pageNo": 0, "pageSize": 0 } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Request trace ID. - **list** (array) - List of data items. #### Response Example ```json { "success": true, "trace_id": "some_trace_id", "list": [ { "skuId": "657225306755585", "numIid": "657225306712576", "tid": "5248307509112226", "batchCode": "BATCH123", "expirationDate": "2024-12-31", "stockQuantity": 100 } ] } ``` #### Error Response (400) - **code** (string) - Error code. - **msg** (string) - Error message. - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Request trace ID. ``` -------------------------------- ### Get Warehouse List (GET /llmstxt/snefo9kkuk_apifox_cn_llms_txt) Source: https://snefo9kkuk.apifox.cn/330568508e0 Retrieves a list of warehouses with various details. This endpoint is designed to fetch comprehensive information about warehouses and their associated data. ```APIDOC ## GET /llmstxt/snefo9kkuk_apifox_cn_llms_txt ### Description Retrieves a list of warehouses with various details including status, supplier information, item counts, and location data. ### Method GET ### Endpoint /llmstxt/snefo9kkuk_apifox_cn_llms_txt ### Parameters #### Query Parameters - **page** (integer) - Optional - The page number for pagination. - **limit** (integer) - Optional - The number of items to return per page. ### Request Example ``` GET /llmstxt/snefo9kkuk_apifox_cn_llms_txt?page=1&limit=20 ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Unique identifier for tracing the request. - **total** (integer) - The total number of items available. - **list** (array) - An array of warehouse objects, each containing: - **outTime** (string) - The time the item went out. - **status** (integer) - The status code of the item. - **code** (string) - A unique code for the item. - **supplierId** (string) - The ID of the supplier. - **pickerNames** (array) - Names of pickers. - **inWarehouseName** (string) - Name of the inbound warehouse. - **city** (string) - The city of the warehouse. - **outLocation** (string) - The location from which the item was sent out. - **remark** (string) - Any remarks associated with the item. - **totalCount** (integer) - The total count of items. - **warehouseName** (string) - The name of the warehouse. - **wssType** (integer) - Type of WSS. - **inWarehouseId** (string) - ID of the inbound warehouse. - **actualTotalAmount** (number) - The actual total amount. - **statusName** (string) - The name of the status. - **supplierName** (string) - The name of the supplier. - **address** (string) - The address of the warehouse. - **warehouseExternalCode** (string) - External code of the warehouse. - **pickerIds** (array) - IDs of pickers. - **postFee** (number) - The post fee. - **gmCreate** (string) - The creator's name. - **mergeType** (integer) - The merge type. - **waveId** (string) - The wave ID. - **feeShareType** (integer) - The fee share type. - **busyCode** (string) - The busy code. - **returnNum** (integer) - The return number. - **templateName** (string) - The name of the template. - **sortType** (integer) - The sort type. - **logisticsType** (integer) - The logistics type. - **supplierCode** (string) - The supplier's code. - **labels** (array) - Labels associated with the item. - **financeStatus** (integer) - The financial status. #### Response Example ```json { "success": true, "trace_id": "abc123xyz789", "total": 100, "list": [ { "outTime": "2023-10-27T10:00:00Z", "status": 1, "code": "W1001", "supplierId": "S5001", "pickerNames": ["Alice", "Bob"], "inWarehouseName": "Main Warehouse", "city": "New York", "outLocation": "Zone A", "remark": "Urgent order", "totalCount": 50, "warehouseName": "Distribution Center", "wssType": 0, "inWarehouseId": "IW2001", "actualTotalAmount": 1500.75, "statusName": "Processing", "supplierName": "Tech Supplies Inc.", "address": "123 Main St, New York", "warehouseExternalCode": "EXT987", "pickerIds": ["P101", "P102"], "postFee": 10.50, "gmCreate": "Admin", "mergeType": 1, "waveId": "WV001", "feeShareType": 0, "busyCode": "FREE", "returnNum": 0, "templateName": "Standard", "sortType": 0, "logisticsType": 1, "supplierCode": "TSINC", "labels": ["priority"], "financeStatus": 0 } ] } ``` #### Error Response (400) - **code** (string) - Error code. - **msg** (string) - Error message. - **success** (boolean) - Indicates if the request was successful (will be false). - **trace_id** (string) - Unique identifier for tracing the request. ```json { "code": "INVALID_PARAM", "msg": "One or more parameters are invalid.", "success": false, "trace_id": "err_abc123xyz789" } ``` ``` -------------------------------- ### POST /purchase/receipt/preorder/add Source: https://context7_llms Adds a new pre-order receipt. ```APIDOC ## POST /purchase/receipt/preorder/add ### Description Adds a new pre-order receipt to the system. ### Method POST ### Endpoint /purchase/receipt/preorder/add ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **field1** (type) - Required/Optional - Description of the field ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### POST /router/allocate/in/task/receive Source: https://snefo9kkuk.apifox.cn/330513498e0 该API用于调拨入库单的收货操作。它接受包含调拨入库单ID、外部单号、收货详情等信息的表单数据,并返回操作结果。 ```APIDOC ## POST /router/allocate/in/task/receive ### Description 调拨入库单收货接口。 ### Method POST ### Endpoint /router/allocate/in/task/receive ### Parameters #### Request Body - **method** (string) - Required - API接口名称: allocate.in.task.receive - **id** (integer) - Required - 调拨入库单id - **weSourceId** (string) - Required - 外部单号 - **receiveDetails** (string) - Required - 传入JSON数组 示例: [ { "outerId": "U", // 商家编码,必填 "goodNum": "1", // 良品数,良品数次品数二选一 "badNum": 0, // 次品数 "batchNo": "" // 批次号 ,非必填 } ] ### Request Example ```json { "method": "allocate.in.task.receive", "id": 0, "weSourceId": "", "receiveDetails": "[ { \"outerId\": \"U\", \"goodNum\": \"1\", \"badNum\": 0, \"batchNo\": \"\" } ]" } ``` ### Response #### Success Response (200) - **success** (boolean) - 请求是否成功 - **trace_id** (string) - 请求跟踪ID - **id** (integer) - id #### Response Example ```json { "success": true, "trace_id": "string", "id": 0 } ``` #### Error Response (400) - **code** (string) - 错误码 - **msg** (string) - 错误消息 - **success** (boolean) - 请求是否成功 - **trace_id** (string) - 请求跟踪ID ``` -------------------------------- ### GET /purchase/putaway/query Source: https://context7_llms Queries for putaway orders. ```APIDOC ## GET /purchase/putaway/query ### Description Retrieves a list of putaway orders. ### Method GET ### Endpoint /purchase/putaway/query ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### POST /router/purchase/return/list/get Source: https://snefo9kkuk.apifox.cn/330568511e0 Retrieves detailed information about purchase return orders. ```APIDOC ## POST /router/purchase/return/list/get ### Description Retrieves detailed information about purchase return orders. This endpoint allows you to fetch specific details for a given return order ID. ### Method POST ### Endpoint /router/purchase/return/list/get ### Parameters #### Query Parameters None #### Request Body - **method** (string) - Required - API interface name: purchase.return.list.get - **id** (integer) - Required - Purchase return order ID ### Request Example ```json { "method": "purchase.return.list.get", "id": 0 } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Request tracking ID. - **total** (string) - Total number of items. - **list** (array) - A list of return order items. Each item contains: - **supplierName** (string) - Supplier name. - **amount** (string) - Amount (in cents). - **supplierId** (string) - Supplier ID. - **code** (string) - Order code. - **sysItemId** (string) - System item ID. - **count** (string) - Quantity. - **remark** (string) - Remark. - **supplierCode** (string) - Supplier code. - **sysSkuId** (string) - System SKU ID. - **unit** (string) - Unit. - **price** (string) - Unit price (in cents). - **itemOuterId** (string) - Main product outer ID. - **outerId** (string) - Merchant outer ID. - **batchNo** (string) - Batch number. - **productTime** (string) - Production date (date-time format). #### Response Example ```json { "success": true, "trace_id": "abc123xyz789", "total": "10", "list": [ { "supplierName": "Supplier A", "amount": "10000", "supplierId": "S123", "code": "RTN001", "sysItemId": "ITM456", "count": "5", "remark": "Damaged goods", "supplierCode": "SUPP001", "sysSkuId": "SKU789", "unit": "pcs", "price": "2000", "itemOuterId": "PROD111", "outerId": "MERCH222", "batchNo": "BATCH333", "productTime": "2023-10-27T10:00:00Z" } ] } ``` #### Error Response (400) - **code** (string) - Error code. - **msg** (string) - Error message. ``` -------------------------------- ### GET /purchase/receipt/details Source: https://context7_llms Queries for receipt details. ```APIDOC ## GET /purchase/receipt/details ### Description Retrieves detailed information for a receipt. ### Method GET ### Endpoint /purchase/receipt/details ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /purchase/order/archived/query Source: https://context7_llms Queries for archived purchase orders. ```APIDOC ## GET /purchase/order/archived/query ### Description Retrieves a list of archived purchase orders. ### Method GET ### Endpoint /purchase/order/archived/query ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### POST /router/erp/trade/create Source: https://snefo9kkuk.apifox.cn/330568238e0 Creates a system manual order in the ERP system. This endpoint allows for the detailed specification of order items, pricing, and receiver information. ```APIDOC ## POST /router/erp/trade/create ### Description Creates a system manual order in the ERP system. This endpoint allows for the detailed specification of order items, pricing, and receiver information. ### Method POST ### Endpoint /router/erp/trade/create ### Parameters #### Request Body - **method** (string) - Required - API interface name: erp.trade.create - **userId** (integer) - Required - Store ID - **warehouseId** (integer) - Required - Warehouse ID - **orders** (array) - Required - Order item details collection - **outerId** (string) - Optional - Merchant code (system main product/specification ID one of two) - **title** (string) - Optional - Product title - **outerSkuId** (string) - Optional - Specification merchant code - **sysSkuPropertiesName** (string) - Optional - System SKU specification property name - **num** (integer) - Required - Sub-order item quantity (greater than 0) - **price** (string) - Required - Product selling price (unit: yuan) - **payment** (string) - Required - Actual payment amount (unit: yuan), Formula: Actual Payment Amount = Payable Amount (Selling Price) - Discount Amount - **discountRate** (string) - Optional - Discount rate - **discountFee** (string) - Optional - Discount amount - **salePrice** (string) - Optional - Distribution price - **theoryPostFee** (string) - Optional - Theoretical shipping fee - **oid** (integer) - Optional - Sub-order platform number - **saleFee** (string) - Optional - Distribution amount - **picPath** (string) - Optional - Platform product image link - **isVirtual** (integer) - Optional - Is it a virtual product, 1: yes, 0: no (virtual products do not need to apply for inventory, nor consume or return inventory when shipping) - **customGiftType** (integer) - Optional - Custom gift type, temporarily set to 0 original logic, 1 manually added gift - **itemSysId** (integer) - Optional - Matched system main product ID (if skuSysId is specified, it is not required; otherwise, it is one of the two with the merchant code) - **skuSysId** (integer) - Optional - System product SKU ID (required if outerId is not specified and it is not a pure product) - **skuId** (string) - Optional - Platform SKU ID - **postFee** (string) - Optional - Shipping fee (unit: yuan) - **payment** (string) - Optional - Actual payment amount (e.g., 1.00) (unit: yuan) - **tid** (string) - Optional - Platform order number (same tid can only be pushed once) - **receiverName** (string) - Optional - Receiver's name ### Request Example { "method": "erp.trade.create", "userId": 0, "warehouseId": 0, "orders": [ { "outerId": "", "title": "", "outerSkuId": "", "sysSkuPropertiesName": "", "num": 1, "price": "", "payment": "", "discountRate": "", "discountFee": "", "salePrice": "", "theoryPostFee": "", "oid": 0, "saleFee": "", "picPath": "", "isVirtual": 0, "customGiftType": 0, "itemSysId": 0, "skuSysId": 0, "skuId": "" } ], "postFee": "", "payment": "", "tid": "", "receiverName": "" } ### Response #### Success Response (200) - **data** (object) - Response data - **success** (boolean) - Indicates if the operation was successful - **message** (string) - Message describing the result of the operation - **code** (integer) - Status code #### Response Example { "data": { "success": true, "message": "操作成功", "code": 200 } } ``` -------------------------------- ### POST /router/erp/item/list/get Source: https://snefo9kkuk.apifox.cn/330568115e0 Retrieves information for multiple products. You can query products by their system IDs or outer IDs. The API also supports returning SKU information. ```APIDOC ## POST /router/erp/item/list/get ### Description Retrieves information for multiple products. You can query products by their system IDs or outer IDs. The API also supports returning SKU information. ### Method POST ### Endpoint /router/erp/item/list/get ### Parameters #### Query Parameters None #### Request Body - **method** (string) - Required - API interface name: erp.item.list.get - **sysItemIds** (string) - Optional - System main product IDs, comma-separated, max 20 (choose one with outerIds, prioritize sysItemIds) - **outerIds** (string) - Optional - Platform merchant codes, comma-separated, max 20 (choose one with sysItemIds, prioritize sysItemIds) - **returnSkus** (string) - Required - Whether to return SKU information. 0: No, 1: Yes. Default is 1 ### Request Example ```json { "method": "erp.item.list.get", "sysItemIds": "123,456", "outerIds": "", "returnSkus": "1" } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the request was successful. - **trace_id** (string) - Request tracing ID. - **items** (array) - List of item data. - **typeTag** (integer) - Secondary classification based on type (0-normal, 1-sku processed, 2-pure processed, 3-sku combo, 4-non-sku combo). - **created** (string) - Creation time. - **sysItemId** (integer) - System product ID. - **weight** (string) - Weight in kg. - **shortTitle** (string) - Product short title. - **title** (string) - Product title. - **type** (string) - Product type (0-normal). - **isSkuItem** (integer) - Whether the product has SKUs (1: Yes, 0: No). - **picPath** (string) - Product image URL. - **catId** (string) - Product category ID. - **unit** (string) - Unit. - **activeStatus** (integer) - Data availability status (0: disabled, 1: enabled). - **hasSupplier** (integer) - Whether a supplier is associated (1: Yes, 0: No). - **modified** (string) - Update time. - **outerId** (string) - Platform merchant code. - **makeGift** (string) - Whether marked as a gift. - **isVirtual** (integer) - Whether it is a virtual product (1: Yes, 0: No). - **skus** (object) - SKU details (if returnSkus is 1). - **created** (string) - SKU creation time. - **sysItemId** (integer) - System product ID for SKU. - **skuPicPath** (string) - SKU image URL. - **weight** (string) - SKU weight in kg. - **shortTitle** (string) - SKU short title. - **propertiesName** (string) - SKU properties name. #### Response Example ```json { "success": true, "trace_id": "abcdef123456", "items": [ { "typeTag": 0, "created": "2023-01-01T10:00:00Z", "sysItemId": 123, "weight": "0.5", "shortTitle": "Product A Short", "title": "Product A Title", "type": "0", "isSkuItem": 0, "picPath": "http://example.com/pic_a.jpg", "catId": "1001", "unit": "pcs", "activeStatus": 1, "hasSupplier": 1, "modified": "2023-01-01T11:00:00Z", "outerId": "OUTER123", "makeGift": "0", "isVirtual": 0, "skus": [ { "created": "2023-01-01T10:05:00Z", "sysItemId": 123, "skuPicPath": "http://example.com/sku_a.jpg", "weight": "0.1", "shortTitle": "SKU A Short", "propertiesName": "Color:Red,Size:M" } ] } ] } ``` ``` -------------------------------- ### POST /router/erp/item/seller/cat/list/get - 查询商品分类信息 Source: https://snefo9kkuk.apifox.cn/330568118e0 此接口用于查询商品分类信息。它返回一个包含所有商品分类的列表,每个分类都包含其ID、名称、父级分类ID、创建和修改时间等详细信息。 ```APIDOC ## POST /router/erp/item/seller/cat/list/get ### Description 查询商品分类信息。此接口返回店铺下的所有商品分类列表。 ### Method POST ### Endpoint https://gw.superboss.cc/router/erp/item/seller/cat/list/get ### Parameters #### Request Body - **method** (string) - Required - API接口名称: erp.item.seller.cat.list.get ### Request Example ```json { "method": "erp.item.seller.cat.list.get" } ``` ### Response #### Success Response (200) - **success** (boolean) - 请求是否成功 - **trace_id** (string) - 请求跟踪ID - **sellerCats** (array) - 商品分类列表 - **created** (integer) - 建档时间 - **name** (string) - 分类名称 - **modified** (integer) - 修改时间 - **cid** (integer) - 分类编号 - **parentCid** (integer) - 父级分类编号,值等于0:表示此类目为店铺下的一级类目,值不等于0:表示此类目有父类目 - **id** (integer) - 分类id #### Response Example ```json { "success": true, "trace_id": "a1b2c3d4e5f6", "sellerCats": [ { "created": 1678886400, "name": "电子产品", "modified": 1678886400, "cid": 1, "parentCid": 0, "id": 101 }, { "created": 1678886400, "name": "手机", "modified": 1678886400, "cid": 2, "parentCid": 101, "id": 102 } ] } ``` #### Error Response (400) - **code** (string) - 错误码 - **msg** (string) - 错误消息 - **success** (boolean) - 请求是否成功 - **trace_id** (string) - 请求跟踪ID ``` -------------------------------- ### GET /purchase/putaway/archived/details Source: https://context7_llms Queries details for archived putaway orders. ```APIDOC ## GET /purchase/putaway/archived/details ### Description Retrieves detailed information for archived putaway orders. ### Method GET ### Endpoint /purchase/putaway/archived/details ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /purchase/suggestion/sold Source: https://context7_llms Queries for purchase suggestions for sold items. ```APIDOC ## GET /purchase/suggestion/sold ### Description Retrieves purchase suggestions based on items that have been sold. ### Method GET ### Endpoint /purchase/suggestion/sold ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /purchase/return/archived/details Source: https://context7_llms Queries for details of archived purchase return orders. ```APIDOC ## GET /purchase/return/archived/details ### Description Retrieves detailed information for an archived purchase return order. ### Method GET ### Endpoint /purchase/return/archived/details ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### POST /router/erp/wms/upshelf/batch Source: https://snefo9kkuk.apifox.cn/330513528e0 Performs a batch shelving operation for items from the temporary storage area. It requires details about the shelving type, warehouse, quality type, and a list of goods with their SKUs. ```APIDOC ## POST /router/erp/wms/upshelf/batch ### Description Performs a batch shelving operation for items from the temporary storage area. ### Method POST ### Endpoint /router/erp/wms/upshelf/batch ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **method** (string) - Required - API interface name: erp.wms.upshelf.batch - **shelveType** (integer) - Required - Temporary storage type. Refer to the temporary storage type dictionary below. - **externalWarehouseCode** (string) - Required - Warehouse external code. Either code or ID must be provided. - **qualityType** (string) - Optional - 'true': good product. 'false': defective product. Defaults to 'true' if not provided. - **goodsSectionSkuVos** (array) - Required - Goods details, provided as a JSON string. - **items** (object) - Description for items within the array. ### Request Example ```json { "method": "erp.wms.upshelf.batch", "shelveType": 0, "externalWarehouseCode": "", "qualityType": "", "goodsSectionSkuVos": "[ { "skuId": "your_sku_id", "skuName": "your_sku_name", "stockNum": 10, "stockArea": "your_stock_area" } ]" } ``` ### Response #### Success Response (200) - **success** (string) - Indicates the success status, typically 'true'. - **trace_id** (string) - A unique identifier for tracing the request. - **traceId** (string) - Another identifier for tracing the request. #### Response Example ```json { "success": "true", "trace_id": "some_trace_id", "traceId": "another_trace_id" } ``` #### Error Response (400) - **code** (string) - Error code. - **msg** (string) - Error message. - **success** (boolean) - Indicates if the request was successful (will be false for errors). - **trace_id** (string) - A unique identifier for tracing the request. ``` -------------------------------- ### GET /purchase/return/archived/query Source: https://context7_llms Queries for a list of archived purchase return orders. ```APIDOC ## GET /purchase/return/archived/query ### Description Retrieves a list of archived purchase return orders. ### Method GET ### Endpoint /purchase/return/archived/query ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **field1** (type) - Description of the response field #### Response Example ```json { "example": "response body" } ``` ```