Create an upsell
POST
/v1/orders/upsell
Creates an upsell linked to an order whose payment has already generated
the upsell_hash (returned by the credit card payment).
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Request Body
application/json
JSON "upsell_hash": "4000114202503117156088040208561001715608804", "products_value": 12300, "products": [ { "sku": "9000010", "name": "Livro de receitas", "quantity": 1, "unit_value": 12300, "type": "digital" } ]
{
}
Responses
Upsell created successfully.
application/json
POST
/v1/orders/upsell