get https://{shopdomain}.myshoplaza.com/openapi/2022-01/suppliers/
The Get Supplier Details API retrieves the detailed information of a specific supplier by its unique identifier. This endpoint is useful for fetching supplier details such as name, URL, and creation and update timestamps for inventory or procurement management.
Response Explanation
Collect Response Fields
Status Code | Message | Possible Reason | Example Response |
---|---|---|---|
400 | Bad Request | Invalid input format or request structure (e.g., missing required fields or incorrect data types). | Bad Request |
Unauthorized | The request is missing valid authentication credentials or the credentials provided are invalid. | Unauthorized | |
Empty supplier_id | Missing required supplier_id | {"errors":["invalid id"]} | |
404 | Supplier Not Found | The database query for retrieving the Supplier returned no result. | { "errors": ["Supplier not found"] } |