Release 1.23
Released: 09/17/2024
- [Breaking change] Errors response format changed to be more explicit:
-
Before change:
HTTP 400 Reponse[ { "code": 0, "message": "string", "property_name": "string", "context": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" } } ] -
After change:
HTTP 400 Response{ "errors": [ { "code": 0, "message": "string", "property_name": "string", "context": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" } } ] }
-
- [Breaking change] Changed response for endpoint /api/print-on-demand/v1/images:
-
Before change:
HTTP 200 Reponse[ { "id": "string", "url": "string" } ] -
After change:
HTTP 200 Reponse{ "images": [ { "id": "string", "url": "string" } ] }
-
- Optimized /connection/established endpoint
- Changed response error message and code for revoked access tokens:
-
Before change:
HTTP 400 BadRequest{ "errors": [ { "code": 401, "message": "invalid_token" } ] } -
After change:
HTTP 401 Unauthorized{ "errors": [ { "code": 4101, "message": "Unable to refresh token, it was revoked" } ] }
-
- Fixed response HTTP code for validation errors
-
Before change:
HTTP 200 OK -
After change:
HTTP 400 BadRequest
-
- Required Etsy location field:
- location field is getting to be required per each
product.variantwhich is set toproduct -
in case of not set location response will contain validation error
HTTP 400 Response[ { "code": 68753035282, "message": "Product variant inventory locations are required", "property_name": "Locations" } ]
- location field is getting to be required per each