Sign in

Create category options

documented

Create category options.

POST /3dCartWebAPI/v1/CategoryOptionsCategoriesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/Categories/{{$categoryid}}/Options" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "SecureURL: {{$secure_url}}" \
  -H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
  -H "Token: {{SHIFT4SHOP_TOKEN}}" \
  -d '{"OptionName": "{{$name}}", "OptionType": "{{$type}}", "OptionValues": ["{{$value1}}", "{{$value2}}"], "SortOrder": {{$sort_order}}, "Required": {{$required}} }'