Retrieves products at a specific store location.
locations.list_location_products(strlocation_code, LocationListLocationProductsParams**kwargs) -> SyncCursorPage[LocationListLocationProductsResponse]
GET/api/v2/public/stores/{store_number}/locations/{location_code}/products
Retrieves products at a specific store location.
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
)
page = client.locations.list_location_products(
location_code="location_code",
store_number="store_number",
)
page = page.list[0]
print(page.barcode){
"page_size": 0,
"page_start": 0,
"total_count": 0,
"list": [
{
"barcode": "barcode",
"customer_order_line_number": 0,
"customer_order_number": "customer_order_number",
"customer_order_shipment_line_number": 0,
"customer_order_shipment_number": "customer_order_shipment_number",
"image_url": "image_url",
"product_description": "product_description",
"product_number": "product_number",
"quantity": 0
}
],
"list_body": {
"foo": "bar"
},
"list_filters": {
"foo": [
"string"
]
},
"next_page": 0,
"previous_page": 0,
"project_last_modified_date": "project_last_modified_date",
"scroll_id": "scroll_id",
"server_time": "server_time",
"sort_column": "sort_column",
"sort_order": "sort_order",
"task_last_modified_date": "task_last_modified_date"
}Returns Examples
{
"page_size": 0,
"page_start": 0,
"total_count": 0,
"list": [
{
"barcode": "barcode",
"customer_order_line_number": 0,
"customer_order_number": "customer_order_number",
"customer_order_shipment_line_number": 0,
"customer_order_shipment_number": "customer_order_shipment_number",
"image_url": "image_url",
"product_description": "product_description",
"product_number": "product_number",
"quantity": 0
}
],
"list_body": {
"foo": "bar"
},
"list_filters": {
"foo": [
"string"
]
},
"next_page": 0,
"previous_page": 0,
"project_last_modified_date": "project_last_modified_date",
"scroll_id": "scroll_id",
"server_time": "server_time",
"sort_column": "sort_column",
"sort_order": "sort_order",
"task_last_modified_date": "task_last_modified_date"
}