Past Changelog
This page contains the past changelog. For the changelog of the current version, please refer to this page.
| CHANGE | BEFORE | AFTER |
|---|
| Base URL | https://api.aftership.com/commerce/v1 | https://api.aftership.com/commerce/2024-04 |
| as-api-version header’s value | won’t return | 2024-04 |
The definition of as-store-id has changed | The identifier of your store. You need to generate it yourself. Note that this value must consist of numbers and letters (A-Z, a-z, 0-9), and special characters can only be hyphens (-) or underscores (_). | The unique store identifier is generated by AfterShip. You can obtain this id by making a GET /stores call to get existing stores or a POST /stores to create a new store. |
| Support for listing data from ecommerce platforms | You can only list data that you import through the Commerce API. | You can list data that you import through Integrations. |
| New store model field | - | source_id
platform |
| New order model field | - | store.id |
| New product model field | - | store.id |
| Update | Resources |
|---|
| add fileds returnable_quantity for order items | orders |
| Update | Resources |
|---|
| add fileds service_type and ship_from_address for shipments | orders |
| add GET /orders | orders |
| add GET/stores | stores |
| Update | Resources |
|---|
| PATCH /orders/:id support to update status,financial_status,fulfillment_status | orders |
| Update | Resources |
|---|
| PATCH /orders/:id support to update shipments | orders |
| Update | Resources |
|---|
Add new field to order shipment: custom_fields | orders |
| Update | Resources |
|---|
Add new field to order shipment: source_delivered_at | orders |
| Update | Resources |
|---|
Remove required validation to the following fields of orders: financial_status、fulfillment_status、shipping_total、tax_total、discount_total、subtotal、source_created_at、source_updated_at | POST /orders |
Remove required validation to the following fields of orders.items: sku、unit_weight、unit_price | POST /orders |
Remove required validation to the following fields of orders.customers: first_name、emails | POST /orders |
Remove required validation to the following fields of orders.shipping_address and orders.billing_address: first_name、address_line_1、city、state、country_region | POST /orders |
Remove required validation to the following fields of products: slug、source_created_at、source_updated_at | POST /products |
Remove required validation to the following fields of products.variants: image_urls、compare_at_price、allow_backorder、options | POST /products |
Remove source_id of stores | POST /stores |
Remove required validation to the following fields of stores: timezone_identifier、url | POST /stores |
| Update | Resources |
|---|
Add new fields to order item: product_categories、product_tags | orders |
| Update | Resources |
|---|
Add new domain api.aftership.com to replace api.automizely.com | - |
| Update | Resources |
|---|
Add new header as-api-key to replace am-api-key | Headers |
| Update | Resources |
|---|
Add Snatshot fields validation to orders.item. Snatshot fields cannot be changed after creating in Automizely | POST /orders |
| Update | Resources |
|---|
Add new header am-api-key to replace am-app-id | Headers |
| Update | Resources |
|---|
| New endpoints | PATCH /products/:id PATCH /orders/:id PATCH /stores/:id |
| Update | Resources |
|---|
Add required validation to the following fields of orders: source_id、number、currency、status、financial_status、fulfillment_status、order_total、shipping_total、tax_total、discount_total、subtotal、source_created_at、source_updated_at | POST /orders |
Add required validation to the following fields of orders.items: source_id、sku、quantity、unit_weight、unit_price、title | POST /orders |
Add required validation to the following fields of orders.shipments: tracking_number | POST /orders |
Add required validation to the following fields of orders.customers: first_name、emails | POST /orders |
Add required validation to the following fields of orders.shipping_address and orders.billing_address: first_name、address_line_1、city、state、country_region | POST /orders |
Add required validation to the following fields of products.variants: source_id、sku、title、price、image_urls、compare_at_price、allow_backorder、options | POST /products |
| Update | Resources |
|---|
| New endpoints | POST /gdpr GET /stores/:id GET /orders/:id GET /products/:id |
| Update | Resources |
|---|
| Initial release | - |
| New endpoints | POST /orders POST /products POST /stores POST /uninstalls |