Sign in

Upload product file

documented

Upload a file associated with a product.

POST /api/v3/{storeId}/products/{productId}/filesProduct Filesno 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://app.ecwid.com/api/v3/{{$storeId}}/products/{{$productId}}/files?fileName={{$fileName}}&description={{$description}}&externalUrl={{$externalUrl}}\" \\
  -X POST \\
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \\
  -H \"Content-Type: application/json\" \\
  -H \"Accept: application/json\" \\
  -d '{\"fileName\": \"{{$fileName}}\", \"description\": \"{{$description}}\", \"externalUrl\": \"{{$externalUrl}}\"}'