Skip to main content
GET
Restore a saved entity to checkout

Query Parameters

client_id
integer
required

Client id that owns the checkout session and entity. Validator rule: required.

program_id
integer
required

Program id for the selected entity. Validator rule: required.

entity_id
integer
required

Entity id to add back to saved_entity_id in Redis. Validator rule: required.

session_id
string
required

Redis frontend session id for the checkout cart. Validator rule: required; a replacement session is created if it is expired.

amount
string
required

Raw amount entered by the donor. Validator rule: required; the controller trims and strips non-numeric characters before storing it as sponsorship_amount.

frequency
integer
required

Frequency value carried by the legacy route. Validator rule: required; used for the saved entity frequency and amount-policy selection.

sponsorship_amount
string
required

Sponsorship amount to store in Redis when amount is empty. Validator rule: required.

Response

Entity was restored to the checkout cart.

message
string
Example:

"<strong>Jane Student</strong> has been added back to your order!"