arrow_back Back to all endpoints
POST https://test-api.finerworks.com/v3/list_products

List Products

Returns a list of products assigned to a particular order or cart.

Body

Request to be submitted

Name Description Type Additional information
guids Optional - This can be the guild assigned to the product. Note, it will also return products assigned to these guids if they are in your virtual inventory. array (globally unique identifier) None.
order_key Optional - This can be the order assigned to the product. globally unique identifier None.
account_key Optional - This will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and any submit orders will be based upon the user's api credentials. Leave as null or ignore if not explicitly required to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "guids": [
    "b464c114-9e44-449c-8566-f3a7eb012d14",
    "b03edc41-b8a0-417d-af62-d89cf97a6cd8"
  ],
  "order_key": "db36a3bc-5169-44e3-be34-c9c7d835e15b",
  "account_key": "sample string 2"
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/list_products' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "guids": [
    "b464c114-9e44-449c-8566-f3a7eb012d14",
    "b03edc41-b8a0-417d-af62-d89cf97a6cd8"
  ],
  "order_key": "db36a3bc-5169-44e3-be34-c9c7d835e15b",
  "account_key": "sample string 2"
}'