We’re excited to unveil version 2.1 of our Order REST API, with new endpoints.
The new endpoints follow RESTful architecture, improve managing data extensions, and simplify data entry.
Key features:
RESTful architecture: The v2.1 endpoints adhere to modern RESTful API standards:
POST – create resources, such as orders or order items.
PATCH – partially update resources.
PUT – fully replace resources.
Order items now support data extensions: Use a data extension to send additional information about an order item. This lets you manage more robust, custom order item data.
Simplified working with data extensions:
Easily update or delete the whole data extension or specific key-value pairs.
Every order and order item supports one data extension named ext so you can manage all additional information in one place. This simplifies integration and ensures consistency.
Simplified data entry:
In data extensions, the key attribute is now automatically set.
The order type is now optional and defaults to "STANDARD".
The order item type now accepts any value, except for a few that are only supported by the previous version of the REST API.
To get started with the new Order REST APIs:
Explore the endpoints using the official documentation. You can start making API calls directly from the docs.
Understand the differences between v2 and v2.1 of the REST APIs so you can upgrade.