Adds or updates lines on an existing product list.
product_lists.update_product_list_lines(intid, ProductListUpdateProductListLinesParams**kwargs) -> ProductListUpdateProductListLinesResponse
POST/api/v2/public/stores/{store_number}/productlists/{id}
Adds or updates lines on an existing product list.
Adds or updates lines on an existing product list.
import os
from colleqtive_sdk import Colleqtive
client = Colleqtive(
bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"), # This is the default and can be omitted
)
response = client.product_lists.update_product_list_lines(
id=0,
store_number="store_number",
lines=[{
"product_number": "PRD-001",
"stock_pool": "StoreStockPool1",
"quantity": 5,
}, {
"product_number": "PRD-002",
"stock_pool": "StoreStockPool1",
"quantity": 12,
}],
)
print(response.code){
"code": 0,
"data": "data",
"message": "message",
"status": "status"
}Returns Examples
{
"code": 0,
"data": "data",
"message": "message",
"status": "status"
}