Create an order.

Params

Param Name Description
order
Required

Order data.


Value:

Must be a Hash

order[order_type]
Required

The type of order to create.


Value:

Must be one of: activation, one_time, renewal, upgrade.

order[model_id]
Optional

The id of the model to create the order for.


Value:

Must be a number.

order[name]
Optional

The name of the new portfolio.


Value:

Must be String

order[budget]
Optional

The budget of the new portfolio.


Value:

Must be decimal.

order[terms_approval]
Optional

Acceptance of the terms of service.


Value:

Must be one of: true.

order[fiscal_code]
Optional

The fiscal code of the person that is buying the portfolio.


Value:

Must be String

order[portfolio_id]
Optional

The slug of the premium portfolio to renew.


Value:

Must be String