Przejdź do treści

A session only uses models, sceneries and presets your account can use

A photo-shoot session started in the app, through the API or from a plugin is now refused before any credits are reserved when it names a model, scenery or preset your account cannot use, or one that has been archived.

Every photo-shoot session names the model, scenery and preset it is shot with. We now check each of them against the account the session is for, wherever the session starts: in the app, through the API or from a store plugin.

A session can use:

  • a public entry from the catalogue;
  • an entry your account created;
  • a catalogue entry your account added, even if it has since been withdrawn from the catalogue.

A session is refused before any credits are reserved, and no order is created, when it names:

  • a model, scenery or preset of another account that is not public;
  • an archived entry, your own included. Until now such a session went ahead and was generated without it.

In the app, the Model, Scenery and Preset tabs only offer entries your account can use, so starting a session works as before. Run this session again fills in a session's model, scenery and preset only when your account can still use them; otherwise it tells you "Some session elements were deleted — review the configuration before submitting."

If you use the API or a plugin, a session with a reference that cannot be used is answered with HTTP 422, naming reference_not_found and the id you sent. The answer is the same for an id that does not exist and for one that belongs to another account. In a plugin batch only the affected item fails. Cloning an order checks the references of the order it copies, so an order whose model, scenery or preset can no longer be used cannot be cloned; submit a new session with entries from the lists for your installation instead.