Shippings
Returns a list of active shipping options available for the specified data source. Only shipping options that are currently active and associated with the given data source are returned.
If the data source does not exist or has no active shipping options associated with it, this endpoint returns an empty array [] rather than an error response.
This endpoint is publicly accessible and does not require authentication. Results are cached for optimal performance.
Unique identifier of the data source
1Successfully retrieved shipping options. Returns an empty array if the data source does not exist or has no active shipping options.
Successfully retrieved shipping options. Returns an empty array if the data source does not exist or has no active shipping options.
Returns a list of available appointment dates and time slots for scheduling an easy return pickup. The response includes dates within the specified range along with available hour ranges for each date.
Dynamic Configuration Requirement:
This endpoint requires authentication and is only available when the EASY_RETURN_PACKAGE_STRATEGY dynamic setting is configured to allow user selection. The setting must be set to: omnishop.orders.strategies.SelectionBasedEasyReturnPackageStrategy
This is a dynamic configuration that can be updated through the administration interface and takes effect immediately without requiring code deployment. When the strategy is set to rule-based mode, this endpoint will return a 400 Bad Request response.
Available Strategy Options:
Rule-based (default): Shipping company is chosen automatically by product rules. This endpoint is not available in this mode.
Selection-based: User chooses shipping company. This endpoint is available in this mode.
Request Requirements:
The pickup address must belong to the authenticated user and must be an active customer address. The start date must be today or later, and the end date must be after the start date.
Rate limiting applies to prevent abuse of this endpoint.
Session cookie header (e.g. sessionid=abc123 or osessionid=abc123)
sessionid=abc123def456CSRF token for request validation
csrftoken1234567890abcdefRequest payload for retrieving available appointment dates
Unique identifier of the shipping company to use for the return. Must be an active easy return shipping company configured for user-selected appointments.
5Unique identifier of the pickup address. Must be an active customer address belonging to the authenticated user.
42Start date of the date range to search for available appointments. Must be today or a future date.
2024-03-27End date of the date range to search for available appointments. Must be after the start date and must be today or a future date.
2024-04-10Successfully retrieved appointment dates
Bad request
Unauthorized
Forbidden
Too many requests
Last updated
Was this helpful?

