Warehouse Import

POST : https://salework.net/api/open/stock/v1/warehouse/import

Tạo phiếu nhập kho cho sản phẩm

Request Headers

client-id: 123456
token: 50000601c30atpedfgu3LVvik87Ixlsvle3mSoB7701ceb156fPunYZ43GBg

Request Body

{
    "common_info": {
        "note": "This is a note!",
        "warehouse_id": "warehouse_id"
    },
    "products_info": [
        {
            "code": "PRODUCT_CODE",
            "quantity": 1000
        }
    ]
}

Response Body

{
    "status": "success",
    "data": {}
}

Parameters

ParameterTypeRequiredNote

common_info

object

yes

note

string

no

warehouse_id

string

yes

products_info

object[]

yes

code

string

yes

quantity

number

yes

Last updated