Create a catalogue Look
Creates an unpublished look with revision 1 as a draft: an ordered list of
applications, each either a variant entry naming one of your variants, a
revision of it and one of its application_ids, or a custom entry naming a
makeup category with its colour and options. The revision is compiled when it is
written: a variant entry pins the variant revision it names, which must be
approved, and a custom entry pins the category’s current profile
(id, version, digest). An entry that does not compile is
400 INVALID_REQUEST naming applications[i]. Nothing renders a look until a
revision is approved and published.
Send an Idempotency-Key: a retry with the same key and the same request
answers the first response, byte for byte, with Idempotency-Replayed: true,
so a response you did not receive is safe to retry.
Requires the catalogue.write scope, which your account operator provisions; no other
catalogue scope implies it. Served only where the catalogue is enabled for your
environment.
Authentication
API key for one environment of your account. Keep server-side; never expose in browser clients.