Skip to main content

Order detail extended – id, warranty, completion, payments, shippings

· One min read
Pavel Husa

We have extended Order detail endpoint in several ways:

  • Order items now contain itemId, which uniquely identifies each order item.
  • Order items now contain warranty information: data.items[].warrantyDescription (id is not stored in the database and therefore cannot be provided).
  • Items also contain data.items[].amountCompleted for eshops using order completion feature.

Although not fully supported by Shoptet core, in administration you can add multiple shippings or payment methods to an order. These are now listed in new arrays:

  • Payments: data.paymentMethods.
  • Shippings: data.shippings.

Original fields paymentMethod, shipping and shippingDetails are still provided as before. In case there are multiple shippings or payments, the one with highest itemId (~newest) is retrieved.