Procurement Order Product List

🔒

Requires read_inventory access scope.

The Procurement Order Product List API retrieves the list of products associated with a specific procurement order. This API provides details about the items, including their quantities, variants, and other related metadata.

This API is especially useful for:

  1. Viewing the products included in a procurement order.
  2. Tracking the quantities and status of specific items in the procurement process.
  3. Managing product-level details for inventory or logistics purposes.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

FieldTypeDescriptionRequiredExample
procurement_idstringUnique identifier of the procurement order.Yes"385070142252984200"
limitstringLimit per page for the number of items returned.Yes"10"
pagestringPage number for pagination.Yes"1"

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Success Response

FieldTypeDescriptionExample
countint32Total number of items in the procurement order.1
itemsarrayList of items in the procurement order.
items[].procurement_item_idint64Unique identifier for the procurement item.385700142268825400
items[].transfer_quantityint32Quantity of the item transferred.10
items[].pending_quantityint32Quantity of the item pending procurement.0
items[].received_quantityint32Quantity of the item received.10
items[].rejected_quantityint32Quantity of the item rejected.0
items[].variant_idstringUnique identifier of the product variant."1c5b9912-42af-41cb-bf7d-df609be87d20"
items[].product_idstringUnique identifier of the product."ac0b5372-4396-4415-979a-64e835abfd5b"
items[].product_imageobjectMetadata about the product's image.
items[].product_image.srcstringSource URL of the product image."//cdn.shoplazza.com/e1d7b475be103047d49d63c521ed0305.jpeg"
items[].product_image.altstringAlt text for the product image.""
items[].product_image.widthint32Width of the product image.780
items[].product_image.heightint32Height of the product image.780
items[].product_image.pathstringPath of the product image in the storage system."e1d7b475be103047d49d63c521ed0305.jpeg"
items[].product_titlestringTitle of the product."0415"
items[].variant_titlestringTitle of the product variant.""
items[].created_atstringTimestamp indicating when the procurement item was created."2024-05-30T07:54:40Z"
items[].updated_atstringTimestamp indicating when the procurement item was last updated."2024-05-30T07:55:03Z"
items[].variant_deleteint32Indicator if the variant is deleted.0
items[].purchase_priceint32Purchase price of the item.0
items[].variant_skustringSKU of the product variant."--A001125"
items[].lot_numberstringLot number of the item."20240530"
items[].expiration_datestringExpiration date of the item, if applicable."2026-05-29T17:00:00Z"
items[].shipped_quantityint32Quantity of the item shipped.0
items[].shipped_received_quantityint32Quantity of the item shipped and received.0

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorString "page not found"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!