---
id: upsell-order
title: "Upsell an order"
hide_title: true
description: "Management API - Use case - Change order"
---

import Ingress from '../../../../src/components/ingress/ingress.react';

<Ingress title="Upsell an order">
Use this request to increase the amount of an order before it has been shipped to the customer
</Ingress>

## Use case

The customer contacted you prior to shipping the order and wants to add an item that they missed or wanted to add to the order.

In some cases the change might be rejected because we cannot extend the original order amount due to lack of space for reserved credit amount.

:::info Prepaid payment methods are not supported
Raising the amount works on credit payment methods only.
:::

## Endpoints used

[Reauthorize order with increased amount](/docs/manage/orders/reauthorize#reauthorize-order-with-increased-amount)

## Example

The following request will update the order with id `abcdef-12345-1234-5555-6666`.

:::info Send the items even though they are optional
The customer sees what changed on the order. Reauthorizing by amount alone leaves the rows out.
:::

In this example, the order is reauthorized with an additional quantity of `1` on the article `10001` which increases the orders amount with `95`.

```http
POST /manage/orders/abcdef-12345-1234-5555-6666/reauthorize HTTP/1.1
Host: api.uat.walleydev.com // Test environment. Production uses a different hostname.
Authorization: Bearer {{accessToken}}
Walley-Idempotency: 03304b06-cb33-4f78-bcea-86cb4b202ba0
Content-Type: application/json


//Upsell on an order with original order amount: 285.0

{
  "amount": 380.0,
  "actionReference": "this-will-be-shown-on-reconciliation-reports",
  "items": [
    {
      "id": "10001",
      "description": "Shoes",
      "unitPrice": 95,
      "quantity": 2
    },
    {
      "id": "10002",
      "description": "T-Shirt",
      "unitPrice": 95,
      "quantity": 2
    }
  ]
}

```
