API reference
Create holiday
Create a new holiday in the system
POST
/v1/shipping/holidaysCreate a new holiday in the system
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/shipping/holidays" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "fromDate": "2019-08-24", "toDate": "2019-08-24" }'Empty