Order API not working
Hi, I am trying to work Add Order at Demo Environment.
https://mews-systems.gitbook.io/connector-api/operations/services#add-order
I am always getting the same response regardless of serviceId and productId at my request.
Example:
API URL:https://api.mews-demo.com/api/connector/v1/orders/add
Method:POST
Request Body:
{
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "7059D2C25BF64EA681ACAB3A00B859CC-D91BFF2B1E3047A3E0DEC1D57BE1382",
"Client": "Sample Client 1.0.0",
"CustomerId": "70ae15d2-d60a-492b-bb78-ae23009f387d",
"ServiceId": "5d064e46-cbb5-49ac-8259-ae2400b4528b",
"ConsumptionUtc": "2022-01-21T00:00:00Z",
"ProductOrders": [
{
"ProductId": "3d5a27fa-3171-4400-b6df-ae2400b50252",
"Count": 1
}
],
}
Response:
{
"Message": "Invalid ServiceId.",
"Details": null
}
Any idea?
Hello from the Mews product team,
Thank you for your request. Please reach out to our Technical Partnership team via [email protected]. They will be able to assist you with testing.
Kind regards,
The Mews Team