Check delivery method
This call checks if a delivery method allows delivery to an address, the estimated delivery time and the associated cost.
Access method
GET activity/deliverymethodcheck
Request structure
ReservationId: (string). Reservation identifier obtained when confirming the cart.DeliveryMethodId: (string). Identifier of the delivery method obtained in the call to delivery methods.CountryCode: (string). Alpha-2 country code, according to ISO 3166 standard.ZipCode: (string). Postal code.
Request example
GET BASEURL/activity/deliverymethodcheck?ReservationId=8jugbkeo49fk3&DeliveryMethodId=1&CountryCode=es&ZipCode=46001
Response structure
ShippingCosts: (decimal). Shipping costs.DeliveryDays: (short). Estimation of the days needed for the products to arrive at their destination.Success(boolean): value that indicates whether the call was processed correctly or not.Timestamp(dateTime): time at which the request was processed. ISO 8601 format (yyyy-MM-ddThh:mm:ss.fffffff).ErrorMessage(string): error message explaining why the request was not successful. If it was correct, it will returnnull.ErrorCodes(string[]): list of codes that identify the errors that occurred in the call.ErrorEntityBreakDown(list): list that contains objects with the name and ID in case of error.Id(string): identifierName(string): related name of the identifier.
Response example
{
"ShippingCosts": 30,
"DeliveryDays": 20,
"Success": true,
"Timestamp": "2021-02-18T17:02:27.8165916"
}