Create a new sync session.

Creates an empty session that acts as a container for one publish/unpublish run, scoped to the given contexts. It does not accept product ids or start syncing by itself: add products with add_products_to_publish_session, then call complete_publish_session (PUT /session/{id}/done) to start processing them. Fails if the organization already has too many sessions pending at once — finish or cancel older sessions before creating new ones.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
contexts
array of strings
Publication contexts (e.g. language codes) this session will sync, such as ['en', 'de']. Each must be an existing, non-archived context for this organization.
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json