Order Management
Signed order number (time-limited signature for security).
Response format. Use json for JSON response.
Session ID and CSRF token cookies.
Format: sessionid=<id>; osessionid=<id>; csrftoken=<token>
sessionid=abc123def456; osessionid=abc123def456; csrftoken=xyz789Order details
HTML page with order confirmation.
Authentication required
Order not found, signature expired, or does not belong to user
The order number to cancel.
ORD-2024-001234CSRF token for write operations (POST, PUT, PATCH, DELETE). Required for security when using session authentication. Obtain token from cookie 'csrftoken' or meta tag in HTML.
abc123def456ghi789Session ID and CSRF token cookies.
Format: sessionid=<id>; osessionid=<id>; csrftoken=<token>
sessionid=abc123def456; osessionid=abc123def456; csrftoken=xyz789Request payload for cancelling order items. Contains a list of items to cancel with their individual cancellation details.
Address ID for product pickup (for easy return / refund requests). Must be a valid address belonging to the authenticated user. Only required for refund-type cancellations with easy return enabled.
If true, the refund amount will be credited as loyalty points
instead of being refunded to the original payment method.
falseDirect cancellation failed - CancellationRequest records created as fallback. Returns the list of created CancellationRequest records that will be processed by the back-office.
Cancellation request ID.
Unique identifier for the cancellation request.
Order item ID that is being cancelled.
Cancellation reason ID (from CancellationReason model).
Additional notes or explanation provided by the customer.
Date and time when the cancellation request was created.
Direct cancellation successful.
The cancellation has been sent to Omnitron and order item statuses are updated to cancellation_waiting.
Validation error - cancellation not allowed
Authentication required
Order not found or does not belong to user
CSRF token for write operations (POST, PUT, PATCH, DELETE). Required for security when using session authentication. Obtain token from cookie 'csrftoken' or meta tag in HTML.
abc123def456ghi789Session ID and CSRF token cookies.
Format: sessionid=<id>; osessionid=<id>; csrftoken=<token>
sessionid=abc123def456; osessionid=abc123def456; csrftoken=xyz789The ID of the order to update.
The ID of the new address from the user's address book.
Channel ID (optional, populated automatically).
Address change request submitted successfully to Omnitron.
Response from Omnitron after address change request.
HTTP status code from Omnitron API.
200Validation error
Authentication required
Last updated
Was this helpful?

