Skip to main content

Resolve Composition As Of Date

GET 

/api/v2/products/:product/composition

Resolve the component set effective on a given date, with provenance (which revision applied). Answers "what was this product's recipe on date X". When as_of precedes the earliest revision, the earliest is returned with is_pre_history = true; a product with no revisions returns a null revision and empty lines.

Required scope: products:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type