Create Workflow
Changed onRequest
- Base URLhttps://sandbox.api.lemon.markets/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/lemon/apis/lemon-markets-brokerage-api/docs/accounts/:account_id/workflows/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
An account identifier.
Query parameters
Use new unified order API instead of the batch_order API.
Headers
Request body
Response
Successful Response
Example response
{
"history": [
{
"timestamp": "2023-06-23T07:29:55.465000+00:00"
}
]
}Changes
- breaking
removed the enum value
batch_order.create_and_confirmof the request property/ - breaking
the
request property type changed fromobjectto no type - breaking
the response property
/became optional for the status - breaking
added to the
response propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the optional property
/from the response with the status - warning
added the new
invest_with_allocationsenum value to the/response property for the response status - info
added the new optional request property
/ - info
the request property
/became optional - info
added discriminator to
request property - info
added the new
invest_with_allocationsenum value to the request property/ - info
added to the
request propertyoneOflist - info
added the optional property
/to the response with the status - info
added discriminator to
response property for the response status - info
removed the
batch_order.create_and_confirmenum value from the/response property for the response status
- breaking