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

Validate Product

Used to validate a product to make sure the sku or product code is valid.

Body

Name Description Type Additional information
skus_or_codes List of product codes or skus. Will validate up to 50 at a time. array (text)

Required

account_key Optional - This will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and any product_sku's validation will be based upon the user's api credentials. Leave as null if not authorized to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "skus_or_codes": [
    "sample string 1",
    "sample string 2"
  ],
  "account_key": "sample string 1"
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/validate_product' \
--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 '{
  "skus_or_codes": [
    "sample string 1",
    "sample string 2"
  ],
  "account_key": "sample string 1"
}'