riverty logo

Docs

Get Started Login

Get Order

Path

GET /api/v3/orders/{orderNumber}

Request Parameters

orderNumber
required
string
Order number

Responses

Successful RequestUnsuccessful Request, Incorrect Order Number

Request Example

    
        null
    

Response Example

    
        {
 "payment": {
  "type": "Invoice"
 },
 "refunds": [
  {
   "amount": -185,
   "balance": -185,
   "currency": "EUR",
   "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
   "insertedAt": "2023-09-27T12:24:53Z",
   "orderNumber": "riverty1",
   "refundItems": [
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg",
     "quantity": 1,
     "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
     "productId": "4534-BLK-M",
     "vatAmount": -16,
     "vatPercent": 19,
     "description": "Leather jacket, Black, size M",
     "netUnitPrice": -84,
     "grossUnitPrice": -100
    },
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg",
     "quantity": 5,
     "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
     "productId": "5745-GRY-M",
     "vatAmount": -1.6,
     "vatPercent": 19,
     "description": "Socks, Grey, Size M",
     "netUnitPrice": -8.4,
     "grossUnitPrice": -10
    },
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg",
     "quantity": 1,
     "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
     "productId": "3323-BRN-M",
     "vatAmount": -4.79,
     "vatPercent": 19,
     "description": "Woolen hat, brown, Size M",
     "netUnitPrice": -25.21,
     "grossUnitPrice": -30
    },
    {
     "type": "ShippingFee",
     "groupId": "",
     "quantity": 1,
     "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
     "productId": "SHIP",
     "vatAmount": -0.8,
     "vatPercent": 19,
     "description": "Shipping",
     "netUnitPrice": -4.2,
     "grossUnitPrice": -5
    }
   ],
   "refundNumber": "800090090",
   "captureNumber": "800090089",
   "reservationId": "fb583567-c5a1-45de-a341-289c75e3f3dd",
   "customerNumber": "AP000100919"
  }
 ],
 "captures": [
  {
   "amount": 185,
   "balance": 0,
   "currency": "EUR",
   "orderDate": "2023-09-27T10:49:11Z",
   "updatedAt": "2023-09-27T12:24:53Z",
   "insertedAt": "2023-09-27T10:50:32Z",
   "orderNumber": "riverty1",
   "captureItems": [
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg",
     "quantity": 1,
     "productId": "4534-BLK-M",
     "vatAmount": 16,
     "vatPercent": 19,
     "description": "Leather jacket, Black, size M",
     "netUnitPrice": 84,
     "grossUnitPrice": 100
    },
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg",
     "quantity": 5,
     "productId": "5745-GRY-M",
     "vatAmount": 1.6,
     "vatPercent": 19,
     "description": "Socks, Grey, Size M",
     "netUnitPrice": 8.4,
     "grossUnitPrice": 10
    },
    {
     "groupId": "",
     "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg",
     "quantity": 1,
     "productId": "3323-BRN-M",
     "vatAmount": 4.79,
     "vatPercent": 19,
     "description": "Woolen hat, brown, Size M",
     "netUnitPrice": 25.21,
     "grossUnitPrice": 30
    },
    {
     "type": "ShippingFee",
     "groupId": "",
     "quantity": 1,
     "productId": "SHIP",
     "vatAmount": 0.8,
     "vatPercent": 19,
     "description": "Shipping",
     "netUnitPrice": 4.2,
     "grossUnitPrice": 5
    }
   ],
   "captureNumber": "800090089",
   "reservationId": "fb583567-c5a1-45de-a341-289c75e3f3dd",
   "customerNumber": "AP000100919",
   "totalRefundedAmount": 185
  }
 ],
 "orderDetails": {
  "status": "Accepted",
  "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
  "currency": "EUR",
  "customer": {
   "email": "astrid.svensson@example.com",
   "phone": "",
   "address": {
    "street": "Normalized Str.",
    "postalCode": "01234",
    "countryCode": "DE",
    "postalPlace": "normalized city",
    "streetNumber": "1"
   },
   "lastName": "Svensson",
   "birthDate": "1999-01-02T00:00:00Z",
   "firstName": "Astrid",
   "salutation": "Mr",
   "companyName": "",
   "mobilePhone": "00491234567",
   "customerNumber": "AP000100919",
   "customerCategory": "Person"
  },
  "updatedAt": "2023-09-27T10:49:11Z",
  "insertedAt": "2023-09-27T10:49:11Z",
  "orderItems": [
   {
    "groupId": "",
    "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
    "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg",
    "quantity": 1,
    "productId": "4534-BLK-M",
    "updatedAt": "2023-09-27T10:49:11Z",
    "vatAmount": 16,
    "insertedAt": "2023-09-27T10:49:11Z",
    "lineNumber": 0,
    "vatPercent": 19,
    "description": "Leather jacket, Black, size M",
    "netUnitPrice": 84,
    "grossUnitPrice": 100
   },
   {
    "groupId": "",
    "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
    "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg",
    "quantity": 5,
    "productId": "5745-GRY-M",
    "updatedAt": "2023-09-27T10:49:11Z",
    "vatAmount": 1.6,
    "insertedAt": "2023-09-27T10:49:11Z",
    "lineNumber": 0,
    "vatPercent": 19,
    "description": "Socks, Grey, Size M",
    "netUnitPrice": 8.4,
    "grossUnitPrice": 10
   },
   {
    "groupId": "",
    "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
    "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg",
    "quantity": 1,
    "productId": "3323-BRN-M",
    "updatedAt": "2023-09-27T10:49:11Z",
    "vatAmount": 4.79,
    "insertedAt": "2023-09-27T10:49:11Z",
    "lineNumber": 0,
    "vatPercent": 19,
    "description": "Woolen hat, brown, Size M",
    "netUnitPrice": 25.21,
    "grossUnitPrice": 30
   },
   {
    "type": "ShippingFee",
    "groupId": "",
    "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
    "quantity": 1,
    "productId": "SHIP",
    "updatedAt": "2023-09-27T10:49:11Z",
    "vatAmount": 0.8,
    "insertedAt": "2023-09-27T10:49:11Z",
    "lineNumber": 0,
    "vatPercent": 19,
    "description": "Shipping",
    "netUnitPrice": 4.2,
    "grossUnitPrice": 5
   }
  ],
  "orderNumber": "riverty1",
  "displayStatus": "FullyRefunded",
  "expirationDate": "2023-10-27",
  "totalNetAmount": 155.41,
  "totalGrossAmount": 185,
  "hasSeparateDeliveryAddress": false
 },
 "cancellations": []
}