Sign in

Create or update avails (Batch Full Extract)

documented

Submit multiple avails in a single batch request (up to 100 items per batch).

POST /v1/avails/full-extract/batch/putAvailsno 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://partnerapi.primevideo.com/v1/avails/full-extract/batch/put" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "x-api-key: {{PRIMEVIDEO_API_KEY}}" \
  --cert "{{MTLS_CERT_PATH}}" --key "{{MTLS_KEY_PATH}}" \
  -d '{"requestItems": [ {"requestItemId": "{{$item_id}}", "path": "/avails/{{$licensor}}/full-extract/{{$ALID}}", "body": {"avail": {"ContentID": "{{$content_id}}", "WorkType": "Movie", "Region": {"country": "{{$country}}"}, "StartDate": "{{$start_date}}", "EndDate": "{{$end_date}}", "LicenseType": "{{$license_type}}", "AvailTerms": {"termName": "{{$term_name}}", "value": "{{$term_value}}"}}}} ]}'" ,
"variables":[
  {"name":"item_id","label":"Batch item ID","placeholder":"item-001","type":"text","exampleValue":"item-001"},
  {"name":"licensor","label":"Licensor","placeholder":"Licensor slug","type":"text","exampleValue":"primevideo-licensor"},
  {"name":"ALID","label":"ALID","placeholder":"ALID","type":"text","exampleValue":"ALID-12345"},
  {"name":"content_id","label":"Content ID","placeholder":"Content ID","type":"text","exampleValue":"CONTENT-ABC"},
  {"name":"country","label":"Country code","placeholder":"ISO 3166-1 code","type":"text","exampleValue":"US"},
  {"name":"start_date","label":"Start date","placeholder":"YYYY-MM-DD","type":"text","exampleValue":"2026-02-01"},
  {"name":"end_date","label":"End date","placeholder":"YYYY-MM-DD","type":"text","exampleValue":"2026-12-31"},
  {"name":"license_type","label":"License type","placeholder":"EST|VOD|SVOD|FVOD","type":"text","exampleValue":"EST"},
  {"name":"term_name","label":"Avail term name","placeholder":"term name","type":"text","exampleValue":"term1"},
  {"name":"term_value","label":"Term value","placeholder":"term value","type":"text","exampleValue":"9.99"},
  {"name":"MTLS_cert_path","label":"MTLS certificate path","placeholder":"path to client cert","type":"text","exampleValue":"/path/to/client.crt"},
  {"name":"MTLS_key_path","label":"MTLS key path","placeholder":"path to client key","type":"text","exampleValue":"/path/to/client.key"},
  {"name":"PRIMEVIDEO_API_KEY","label":"API key","placeholder":"Prime Video API key","type":"text","exampleValue":"ABCDEF123456"},
  {"name":"term_name","label":"MTLS key password (optional)","placeholder":"password if key protected","type":"text","exampleValue":""}
] }"}
Create or update avails (Batch Full Extract) · Amazon Prime Video · OpenIntegrations