{ "openapi": "3.0.4", "info": { "title": "GRP Returns API", "description": "Global Returns Platform - public API", "version": "1" }, "servers": [ { "url": "https://api.sandbox.esw.com" } ], "paths": { "/returns/v1/{identifier}/orders/{orderReference}": { "get": { "tags": [ "Orders" ], "summary": "Retrieve an outbound order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.Common.OrderWebResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "Server Error", "content": { "application/json": { } } } } } }, "/returns/v1/{identifier}/orders/{orderReference}/return-orders/{returnOrderNumber}": { "get": { "tags": [ "Returns" ], "summary": "Gets a Return Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "returnOrderNumber", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successfully got return order", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.GetReturnOrder.GetReturnOrderWebResponse" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Get return order is forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Return Order can't be found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "A unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/orders/{orderReference}/return-orders": { "post": { "tags": [ "Returns" ], "summary": "Creates a Return Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderWebRequest" } } }, "x-bodyName": "body" }, "responses": { "201": { "description": "The Return Order has been successfully created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderWebResponse" } } } }, "400": { "description": "Validation has failed for Return Order creation request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "Missing auth token", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Permissions error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Tenant Code doesn't exist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "An unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/return-methods/{orderReference}": { "post": { "tags": [ "Returns" ], "summary": "Search Return Methods", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "Request payload", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.SearchReturnMethods.SearchReturnMethodsWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.SearchReturnMethods.SearchReturnMethodsWebResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "Server Error", "content": { "application/json": { } } } } } }, "/returns/v1/{identifier}/tracking-events": { "post": { "tags": [ "Returns" ], "summary": "Retrieves tracking events", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "Request payload", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.GetTrackingEvents.GetTrackingEventsWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "Tracking events successfully received", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.GetTrackingEvents.GetTrackingEventsResponse" } } } }, "400": { "description": "Validation has failed for GetTrackingEvents request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Tracking doesn't exist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "An unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/configuration/countries/{countryIso}": { "get": { "tags": [ "Configuration" ], "summary": "Retrieve country configuration", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "countryIso", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.GetCountryConfiguration.GetCountryConfigurationResponse" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "Server Error", "content": { "application/json": { } } } } } }, "/returns/v1/{tenant}/orders/{orderReference}/return-orders/{returnOrderNumber}": { "put": { "tags": [ "Returns" ], "summary": "Updates an Return Order.", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "returnOrderNumber", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "Return order data", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateReturnOrder.UpdateReturnOrderWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "Successfully processed Return Order", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateReturnOrder.UpdateReturnOrderWebResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Put Return Order is forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Return Order can't be found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "A unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/return-orders": { "get": { "tags": [ "Returns" ], "summary": "Retrieves a list of return orders based on provided criteria", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Return orders found", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.GetReturnOrder.GetReturnOrderWebResponse" } } } } }, "400": { "description": "Bad request - validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Request is forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Could not find any return orders based on provided criteria", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "An unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/lite-return-orders": { "post": { "tags": [ "Returns" ], "summary": "Creates a Lite Return Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request payload", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateLiteReturnOrder.CreateLiteReturnOrderWebRequest" } } }, "x-bodyName": "body" }, "responses": { "201": { "description": "The lite return order has been successfully created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateLiteReturnOrder.CreateLiteReturnOrderWebResponse" } } } }, "400": { "description": "Validation has failed for lite return order creation request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "403": { "description": "Permissions error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Tenant Code doesn't exist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "409": { "description": "A lite return order already exists for the provided order reference and email address", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "A unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "401": { "description": "Missing auth token", "content": { "application/json": { } } } } } }, "/returns/v1/{identifier}/label": { "post": { "tags": [ "Label" ], "summary": "Requests a preprinted label", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request body", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.LabelRequest.LabelRequestWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "The label has been successfully requested", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLabelRequest.CreateLabelRequestResponse" } } } }, "400": { "description": "Validation has failed for preprinted label request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "User is not authenticated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "409": { "description": "A request for this label with order reference and shipping reference already occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "A unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/outbound-orders": { "post": { "tags": [ "Ingestion" ], "summary": "Creates an Outbound Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request body", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.CreateOrderWebRequest" } } }, "x-bodyName": "body" }, "responses": { "201": { "description": "The Outbound Order has been successfully created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.CreateOrderWebResponse" } } } }, "400": { "description": "Validation has failed for Outbound Order creation request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "User is not authenticated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "User does not have permissions to hit the endpoint", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "409": { "description": "The Outbound Order already exists. (If replaceOrderPermitted is false)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "A unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/outbound-orders/{orderReference}": { "put": { "tags": [ "Ingestion" ], "summary": "Updates an Outbound Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request body", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "The Outbound Order has been successfully updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderWebResponse" } } } }, "400": { "description": "Validation has failed for Outbound Order update request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "User is not authenticated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "User does not have permissions to hit the endpoint", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Outbound Order does not exist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "An unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/outbound-orders/{orderReference}/last-mile": { "put": { "tags": [ "Label" ], "summary": "Updates an Outbound Order", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "orderReference", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request body", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderLastMileReferenceWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "The Outbound Order has been successfully updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderLastMileReferenceWebResponse" } } } }, "400": { "description": "Validation has failed for Outbound Order update last mile reference request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "User is not authenticated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "User does not have permissions to hit the endpoint", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "404": { "description": "Outbound Order does not exist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "An unexpected error occurred", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/outbound-shipments": { "post": { "tags": [ "Ingestion" ], "summary": "Submits an Outbound Shipment", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "The request body", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.SubmitOutboundShipment.SubmitOutboundShipmentWebRequest" } } }, "x-bodyName": "body" }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.SubmitOutboundShipment.SubmitOutboundShipmentWebResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } } } } }, "/returns/v1/{identifier}/return-orders/{returnOrderNumber}/{documentType}": { "get": { "tags": [ "Returns" ], "summary": "Get Document", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "returnOrderNumber", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "documentType", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Documentation.Domain.Models.DocumentDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails" } } } }, "500": { "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Returns.Documentation.Domain.Models.BaseResponse" } } } } } } }, "/returns/v1/{identifier}/location/{**catch-all}": { "get": { "tags": [ "Location" ], "summary": "Get Return Location Call", "parameters": [ { "name": "identifier", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GetLocationsResponseDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GetLocationsResponseDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GetLocationsResponseDto" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "422": { "description": "Unprocessable Content", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } } }, "components": { "schemas": { "Microsoft.AspNetCore.Mvc.ProblemDetails": { "type": "object", "properties": { "type": { "type": "string" }, "title": { "type": "string" }, "status": { "type": "integer", "format": "int32" }, "detail": { "type": "string" }, "instance": { "type": "string" } }, "additionalProperties": { } }, "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": { "type": "object", "properties": { "errors": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "type": { "type": "string" }, "title": { "type": "string" }, "status": { "type": "integer", "format": "int32" }, "detail": { "type": "string" }, "instance": { "type": "string" } }, "additionalProperties": { } }, "Returns.Oms.Api.UseCases.Common.OrderWebResponse": { "type": "object", "properties": { "countryIso": { "type": "string", "description": "CountryIso from the saved order's contact information", "example": "IE" }, "orderDate": { "type": "string", "description": "Date the order was placed", "format": "date-time", "example": "2022-02-09T10:01:32.9637726+00:00" }, "noOfArticlesAvailableForReturn": { "type": "integer", "description": "Number of items available for return", "format": "int32", "example": 2 }, "noOfArticlesUnavailableForReturn": { "type": "integer", "description": "Number of items unavailable for return", "format": "int32", "example": 1 }, "returnPeriodExpired": { "type": "boolean", "description": "Indicates whether the return period has expired", "example": false }, "orderQualifiesForCancel": { "type": "boolean", "description": "Order qualifies for cancel", "example": true }, "waiveReturnFee": { "type": "boolean", "description": "When true, the return fee is waived for this order", "example": false }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderResponse.OrderItemDto" }, "description": "Article Items" }, "returnOrders": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderResponse.ReturnOrderDto" }, "description": "Return Orders" }, "fxRates": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FxRateDto" }, "description": "Fx rates" }, "shopperDetails": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderResponse.ExtendedOrderShopperDetailsDto" }, "payment": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.PaymentDto" }, "virtualBrandId": { "type": "string", "description": "Virtual Brand Id" }, "virtualBrandName": { "type": "string", "description": "Virtual Brand Name" }, "externalBrandIdentifier": { "type": "string", "description": "External brand identifier of the virtual brand the order belongs to", "example": "ALPHA-001" }, "emailConfirmationRequired": { "type": "boolean", "description": "Indicates whether the email confirmation is required for marketplace retailers", "example": false } }, "additionalProperties": false, "description": "Order Web Response Object" }, "Returns.Oms.Application.UseCases.Common.FxRateDto": { "type": "object", "properties": { "name": { "type": "string" }, "fromCurrency": { "type": "string" }, "toCurrency": { "type": "string" }, "rawRate": { "type": "number", "format": "double" }, "margin": { "type": "number", "format": "double" }, "marginRate": { "type": "number", "format": "double" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.OrderResponse.ExtendedOrderShopperDetailsDto": { "type": "object", "properties": { "phoneNumber": { "type": "string" }, "locale": { "type": "string" }, "firstName": { "type": "string" }, "lastName": { "type": "string" }, "email": { "type": "string" }, "address": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShopperAddressDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.OrderResponse.OrderItemDto": { "type": "object", "properties": { "id": { "type": "string" }, "productCode": { "type": "string" }, "merchantId": { "type": "string" }, "manufactureId": { "type": "string" }, "gtin": { "type": "string" }, "ean": { "type": "string" }, "upc": { "type": "string" }, "lineItemId": { "type": "string" }, "monolithId": { "type": "integer", "format": "int64" }, "productDescription": { "type": "string" }, "productCustomsDescription": { "type": "string" }, "countryOfOriginIso": { "type": "string" }, "hsCode": { "type": "string" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "unitTotal": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "unitCharges": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitChargeDto" } }, "shippingInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShippingInformationDto" }, "deliveryEstimates": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DeliveryEstimatesDto" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReplacementInformationDto" }, "productImageUrl": { "type": "string" }, "mid": { "type": "string" }, "midZipCode": { "type": "string" }, "color": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "category": { "type": "string" }, "personalized": { "type": "boolean" }, "dangerousGoods": { "type": "boolean" }, "isDigital": { "type": "boolean" }, "prohibitedForReturns": { "type": "boolean" }, "availableForReturns": { "type": "boolean" }, "meetsReturnCriteria": { "type": "boolean" }, "overrideProhibitedForReturns": { "type": "boolean" }, "unlimitedPeriodForReturns": { "type": "boolean" }, "returnWindow": { "type": "integer", "format": "int32" }, "fulfilmentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto" }, "articlePaymentReceived": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.OrderResponse.ReturnOrderDto": { "type": "object", "properties": { "returnOrderNumber": { "type": "string" }, "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "paidBy": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.PaidBy" }, "customerReturnStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnOrderStatus" }, "returnProcessedOn": { "type": "string", "format": "date-time" }, "returnAdminCentreCode": { "type": "string" }, "createdOn": { "type": "string", "format": "date-time" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderResponse.ReturnItemDto" } }, "carrierServiceRouteId": { "type": "string" }, "waivedShippingCost": { "type": "boolean" }, "paymentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.PaymentInformationDto" }, "rejectedReturnPackage": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateReturnOrder.RejectedReturnPackageDto" }, "returnType": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnType" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.PaymentDto": { "type": "object", "properties": { "method": { "type": "string" }, "settled": { "type": "boolean" }, "paymentBrand": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.DeliveryEstimatesDto": { "type": "object", "properties": { "eddMinDate": { "type": "string", "format": "date-time" }, "eddMaxDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto": { "type": "object", "properties": { "centreId": { "type": "string" }, "countryIso": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.OrderResponse.ReturnItemDto": { "type": "object", "properties": { "id": { "type": "string" }, "returnItemReasonCode": { "type": "string" }, "returnItemStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnItemStatus" }, "rejectionReason": { "type": "string" }, "rejectionReasonDescription": { "type": "string" }, "productCode": { "type": "string" }, "merchantId": { "type": "string" }, "manufactureId": { "type": "string" }, "lineItemId": { "type": "string" }, "dispositionId": { "type": "string" }, "productDescription": { "type": "string" }, "productImageUrl": { "type": "string" }, "color": { "type": "string" }, "colorNumber": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "styleNumber": { "type": "string" }, "gtin": { "type": "string" }, "ean": { "type": "string" }, "upc": { "type": "string" }, "returnItemReasonComment": { "type": "string" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReplacementInformationDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.PaymentInformationDto": { "type": "object", "properties": { "checkoutReference": { "type": "string" }, "method": { "type": "string" }, "price": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ReplacementInformationDto": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReplacementType" }, "reason": { "type": "string" }, "isReplacementFor": { "type": "string" }, "brandOrderReference": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ShippingInformationDto": { "type": "object", "properties": { "shippingReference": { "type": "string" }, "shippingReferenceLastMile": { "type": "string" }, "carrierReference": { "type": "string" }, "barcodeReference": { "type": "string" }, "shippingStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ShippingStatus" }, "statusDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ShopperAddressDto": { "type": "object", "properties": { "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "regionName": { "type": "string" }, "countryName": { "type": "string" }, "postalCode": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.UnitChargeDto": { "type": "object", "properties": { "name": { "type": "string" }, "amount": { "type": "number", "format": "double" }, "currency": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.UnitPriceDto": { "type": "object", "properties": { "amount": { "type": "number", "format": "double" }, "currency": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.WeightDto": { "type": "object", "properties": { "weightTotal": { "type": "number", "format": "double" }, "weightUnit": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.WeightUnit" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.UpdateReturnOrder.RejectedReturnPackageDto": { "type": "object", "properties": { "packageNumber": { "type": "integer", "format": "int64" }, "carrierTrackingReference": { "type": "string" }, "carrierName": { "type": "string" }, "carrierTrackingUrl": { "type": "string" }, "rejectedItemsIds": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "Returns.Oms.Domain.Enums.PaidBy": { "enum": [ "Unpaid", "Retailer", "Shopper" ], "type": "string", "x-ms-enum": { "name": "PaidBy", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReturnMethod": { "enum": [ "Postal", "PUDO", "Collection", "Store" ], "type": "string", "x-ms-enum": { "name": "ReturnMethod", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReturnOrderStatus": { "enum": [ "Pending", "Created", "Received", "OnHold", "Released", "Processed", "AddedToManifest", "SentToRetailer", "ReceivedByRetailer", "RemovedFromManifest", "Cancelled", "Refunded" ], "type": "string", "x-ms-enum": { "name": "ReturnOrderStatus", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReturnType": { "enum": [ "Normal", "Undeliverable", "BlindReturn", "EUCoolingOff", "HubReturn", "Exchange", "RetailerBlindReturn", "PrePrintedBlindReturn" ], "type": "string", "x-ms-enum": { "name": "ReturnType", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReplacementType": { "enum": [ "Replacement", "Replaced", "ExchangeReplacement", "Exchanged", "NativeExchangeReplacement" ], "type": "string", "x-ms-enum": { "name": "ReplacementType", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReturnItemStatus": { "enum": [ "InProgress", "Accepted", "Rejected", "RejectedNotReturned", "Cancelled" ], "type": "string", "x-ms-enum": { "name": "ReturnItemStatus", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ShippingStatus": { "enum": [ "Unshipped", "Shipped", "Cancelled" ], "type": "string", "x-ms-enum": { "name": "ShippingStatus", "modelAsString": true } }, "Returns.Oms.Domain.Enums.WeightUnit": { "enum": [ "Kg", "Lb" ], "type": "string", "x-ms-enum": { "name": "WeightUnit", "modelAsString": true } }, "Returns.Oms.Api.UseCases.GetReturnOrder.GetReturnOrderWebResponse": { "type": "object", "properties": { "contacts": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnLabelDtos.ReturnContactInformationDto" }, "description": "Return Order Contacts" }, "id": { "type": "string", "description": "Id", "example": "GOCAS-5000002251" }, "status": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnOrderStatus" }, "returnAdminCentreCode": { "type": "string", "description": "Return Admin Centre Code", "example": "RUMDC" }, "storeReturnsCentreCode": { "type": "string", "description": "Store Returns Centre Code (for RTS returns)", "example": "USRET" }, "returnsListingsGuid": { "type": "string", "description": "Returns listing guid", "format": "uuid", "example": "4039312f-868d-4c64-ae6a-b6c9be74d07b" }, "returnType": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.Common.ReturnType" }, "returnOrderNumber": { "type": "string", "description": "Return order number", "example": "5005839493929" }, "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route" }, "paidBy": { "type": "string", "description": "Paid By", "example": "Retailer" }, "carrierIdentifier": { "type": "string", "description": "Carrier Identifier", "example": "Royal Mail" }, "countryCode": { "type": "string", "description": "Country Code (Origin Country ISO)", "example": "GB" }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "orderReference": { "type": "string", "description": "Order Reference", "example": "3453434433" }, "externalBrandIdentifier": { "type": "string", "description": "External brand identifier", "example": "ALPHA-001" }, "createdOn": { "type": "string", "description": "Date return order was created on", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "lastUpdated": { "type": "string", "description": "Date return order was last updated", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "returnProcessedOn": { "type": "string", "description": "Date return order was processed", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnOrderItemDto" }, "description": "Return items" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "routeCode": { "type": "string", "description": "RouteCode" }, "paymentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.PaymentInformationDto" }, "store": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.StoreDto" }, "waivedShippingCost": { "type": "boolean", "description": "Waived shipping cost" }, "splitInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.SplitInformationDto" }, "rejectedReturnPackage": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateReturnOrder.RejectedReturnPackageDto" }, "retailerIdentifier": { "type": "string", "description": "Retailer Identifier", "example": "RETAILER123" }, "virtualBrandId": { "type": "string", "description": "Virtual Brand Id", "example": "063737ac-2592-4463-a732-d14ca62d4ca8" }, "virtualBrandName": { "type": "string", "description": "Virtual Brand Name", "example": "Alpha Brand" } }, "additionalProperties": false, "description": "Get Return Order response object" }, "Returns.Oms.Api.UseCases.Common.ReturnType": { "enum": [ 1, 2, 3, 4, 5, 6, 7, 8 ], "type": "integer", "description": "Return Type Enum", "format": "int32", "x-ms-enum": { "name": "ReturnType", "modelAsString": true } }, "Returns.Oms.Application.UseCases.Common.DropOffLocationDto": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.LocationType" }, "name": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "postcode": { "type": "string" }, "sortcode": { "type": "string" }, "region": { "type": "string" }, "country": { "type": "string" }, "telephone": { "type": "string" }, "email": { "type": "string" }, "openingTimesDescription": { "type": "string" }, "openingTimes": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OpeningTimeDto" } }, "carrierServiceRouteId": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ReturnOrderItemDto": { "type": "object", "properties": { "returnItemStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnItemStatus" }, "rejectionReason": { "type": "string" }, "returnReasons": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnItemReasonDto" } }, "id": { "type": "string" }, "productCode": { "type": "string" }, "lineItemId": { "type": "string" }, "productDescription": { "type": "string" }, "productCustomsDescription": { "type": "string" }, "countryOfOriginIso": { "type": "string" }, "hsCode": { "type": "string" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "productImageUrl": { "type": "string" }, "mid": { "type": "string" }, "midZipCode": { "type": "string" }, "color": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "category": { "type": "string" }, "personalized": { "type": "boolean" }, "dangerousGoods": { "type": "boolean" }, "prohibitedForReturns": { "type": "boolean" }, "shippingInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShippingInformationDto" }, "grading": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnItemGradingDto" }, "fulfilmentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto" }, "csApproved": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.SplitInformationDto": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/Returns.Oms.Domain.Entities.SplitType" }, "originalReturnOrderNumber": { "type": "string" }, "splitsReturnOrderNumbers": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.StoreDto": { "type": "object", "properties": { "tenantCode": { "type": "string" }, "countryCode": { "type": "string" }, "id": { "type": "string" }, "storeName": { "type": "string" }, "storeType": { "type": "string" }, "partnerName": { "type": "string" }, "storeNumber": { "type": "integer", "format": "int64" }, "city": { "type": "string" }, "region": { "type": "string" }, "addressLine1": { "type": "string" }, "addressLine2": { "type": "string" }, "addressLine3": { "type": "string" }, "postalCode": { "type": "string" }, "phoneNumber": { "type": "string" }, "location": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.StoreLocationDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnLabelDtos.ReturnContactInformationDto": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ContactType" }, "firstName": { "type": "string" }, "lastName": { "type": "string" }, "unit": { "type": "string" }, "poBox": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "region": { "type": "string" }, "postalCode": { "type": "string" }, "countryIso": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" }, "cultureLanguageIso": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.OpeningTimeDto": { "type": "object", "properties": { "day": { "type": "string" }, "opens": { "type": "string" }, "closes": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ReturnItemGradingDto": { "type": "object", "properties": { "gradingType": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ReturnItemReasonDto": { "type": "object", "properties": { "reasonCode": { "type": "string" }, "description": { "type": "string" }, "reasonComment": { "type": "string" }, "isRetailerAtFault": { "type": "boolean" }, "suppliedBy": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnOrderParty" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.StoreLocationDto": { "type": "object", "properties": { "latitude": { "type": "number", "format": "double" }, "longitude": { "type": "number", "format": "double" } }, "additionalProperties": false }, "Returns.Oms.Domain.Entities.SplitType": { "enum": [ 0, 1 ], "type": "integer", "format": "int32", "x-ms-enum": { "name": "SplitType", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ContactType": { "enum": [ "Sender", "Collection", "PUDO" ], "type": "string", "x-ms-enum": { "name": "ContactType", "modelAsString": true } }, "Returns.Oms.Domain.Enums.LocationType": { "enum": [ "Store", "Pudo" ], "type": "string", "x-ms-enum": { "name": "LocationType", "modelAsString": true } }, "Returns.Oms.Domain.Enums.ReturnOrderParty": { "enum": [ "Shopper", "CustomerService" ], "type": "string", "x-ms-enum": { "name": "ReturnOrderParty", "modelAsString": true } }, "Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderWebRequest": { "type": "object", "properties": { "consumerEmailAddress": { "type": "string", "description": "Consumer Email Address", "example": "shipper@domain.com" }, "cultureLanguageIso": { "type": "string", "description": "Culture Language ISO", "example": "fr-FR" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.ReturnItemRequestDto" }, "description": "Return Items" }, "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "returnType": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.Common.ReturnType" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route", "example": true }, "paidBy": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.PaidBy" }, "carrierIdentifier": { "type": "string", "description": "Carrier Identifier", "example": "Royal Mail" }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "shippingReference": { "type": "string", "description": "Shipping Reference", "example": "REF6993876423" }, "barcodeReference": { "type": "string", "description": "Barcode reference", "example": "5 012345 678900" }, "carrierReference": { "type": "string", "description": "Barcode reference", "example": "FBA_1636646500B" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "returnAdminCentreCodeOverride": { "type": "string", "description": "Return admin centre code override", "example": "AUCOW" }, "skipRouteCode": { "type": "boolean", "description": "Skip Route Code assignment for the return if true" }, "skipSortationAndSplit": { "type": "boolean", "description": "If the skip flag is true, then the return order will not be split or sorted." }, "collectionInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.CollectionInformationDto" }, "returnOrderNumber": { "type": "integer", "description": "Return Order Number", "format": "int64" }, "isSynchronousRequest": { "type": "boolean", "description": "Process the request synchronously. When true, the return order creation will complete\r\nbefore returning a response, similar to the migration endpoint behavior.", "example": false }, "includeInstructions": { "type": "boolean", "description": "Include instructions with LIAB label" }, "virtualBrandIdentifier": { "type": "string", "description": "Virtual brand identifier for returns partners", "example": "my-virtual-brand" }, "externalBrandIdentifier": { "type": "string", "description": "External brand identifier supplied by API callers." }, "refund": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.ReturnOrderRefundRequest.RefundChargeDto" }, "description": "Return refund fee(s). Stored only for Retailer/Organisation API BlindReturns on marketplace orders with a ChannelId; ignored otherwise.\r\nMarketplace BlindReturns created via the Retailer/Organisation API are accepted and processed on creation,\r\nand the refund is required, must use the shopper currency with charges named Total, Items and Delivery (Total = Items + Delivery)." } }, "additionalProperties": false, "description": "Create Return Order WebRequest" }, "Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderWebResponse": { "type": "object", "properties": { "returnsListingsGuid": { "type": "string", "description": "Returns Listings Guid", "format": "uuid", "example": "4c071f76-e27b-4291-a29h1" }, "returnOrderNumber": { "type": "string", "description": "Return Order Number", "example": "5000002303" }, "returnType": { "type": "string", "description": "Return Type", "example": "Normal" }, "returnMethod": { "type": "string", "description": "Return Method", "example": "Postal" }, "paidBy": { "type": "string", "description": "Paid By", "example": "Retailer" }, "carrierIdentifier": { "type": "string", "description": "Carrier Identifier", "example": "Royal Mail" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route", "example": true }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderItemWebResponse" }, "description": "Return Items" }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "paymentRedirectUrl": { "type": "string", "description": "Payment redirect url", "example": "https://checkout-ui-gocas.test.eshopworld.net/eshopworld/ie/6631ff0e-95d9-4a59-934f-fe18050afc1f" }, "label": { "type": "string", "description": "Base 64 encoded label" }, "carrierTrackingReference": { "type": "string", "description": "Carrier Tracking Reference" } }, "additionalProperties": false, "description": "Create Return Order WebResponse" }, "Returns.Oms.Api.UseCases.CreateReturnOrder.CreateReturnOrderItemWebResponse": { "type": "object", "properties": { "id": { "type": "string", "description": "Id", "example": "0013db57-885d-462b-a24f-80312a9g3207" }, "productCode": { "type": "string", "description": "Product code", "example": "0607339" }, "lineItemId": { "type": "string", "description": "Line Item Id", "example": "24" }, "productDescription": { "type": "string", "description": "Product description", "example": "Shirt" }, "productImageUrl": { "type": "string", "description": "Product Image Url", "example": "https://image.com" }, "color": { "type": "string", "description": "Color", "example": "Red" }, "size": { "type": "string", "description": "Size", "example": "L" }, "serialNumber": { "type": "string", "description": "Serial Number", "example": "SN123456789" }, "category": { "type": "string", "description": "Category", "example": "Fashion" }, "reasonCode": { "type": "string", "description": "Reason Code", "example": "5" }, "dispositionId": { "type": "string", "description": "Disposition Id", "example": "GradeA" }, "reasonComment": { "type": "string", "description": "Reason comment", "example": "Poor fabric quality" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnReplacementInformationDto" } }, "additionalProperties": false, "description": "Return Item Web Response" }, "Returns.Oms.Application.UseCases.Common.CollectionInformationDto": { "type": "object", "properties": { "date": { "type": "string", "format": "date" }, "address": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.CollectionAddressDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateReturnOrder.ReturnItemRequestDto": { "type": "object", "properties": { "reasonCode": { "type": "string" }, "reasonComment": { "type": "string" }, "dispositionId": { "type": "string" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnReplacementInformationDto" }, "monolithId": { "type": "string" }, "id": { "type": "string" }, "productCode": { "type": "string" }, "lineItemId": { "type": "string" }, "retailerLineItemId": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.ReturnOrderRefundRequest.RefundChargeDto": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.CollectionAddressDto": { "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "region": { "type": "string" }, "postalCode": { "type": "string" }, "countryIso": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnReplacementInformationDto": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.RequestReplacementType" }, "productCode": { "type": "string" }, "lineItemId": { "type": "string" }, "retailerLineItemId": { "type": "string" }, "productImageUrl": { "type": "string" }, "color": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "brandOrderReference": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateReturnOrder.RequestReplacementType": { "enum": [ "ExchangeReplacement", "Exchanged" ], "type": "string", "x-ms-enum": { "name": "RequestReplacementType", "modelAsString": true } }, "Returns.Oms.Api.UseCases.SearchReturnMethods.SearchReturnMethodsWebRequest": { "type": "object", "properties": { "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnItemDto" }, "description": "Return Items" }, "isShopperAtFault": { "type": "boolean", "description": "Indicates whether the shopper is at fault" } }, "additionalProperties": false, "description": "Search Return Methods Web Request" }, "Returns.Oms.Api.UseCases.SearchReturnMethods.SearchReturnMethodsWebResponse": { "type": "object", "properties": { "orderReference": { "type": "string", "description": "Order Reference", "example": "R2848070358" }, "originCountryIso": { "type": "string", "description": "Origin Country Iso", "example": "IE" }, "destinationCountryIso": { "type": "string", "description": "Destination Country Iso", "example": "FR" }, "selectedReturnAdminCentreCode": { "type": "string", "description": "Selected return admin centre code", "example": "CADAS" }, "returnMethods": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.SearchReturnMethods.ReturnMethodDto" }, "description": "Return Methods" } }, "additionalProperties": false, "description": "Search Return Methods Web Response" }, "Returns.Oms.Application.UseCases.Common.ReturnItemDto": { "type": "object", "properties": { "id": { "type": "string" }, "productCode": { "type": "string" }, "lineItemId": { "type": "string" }, "retailerLineItemId": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.SearchReturnMethods.ReturnMethodDto": { "type": "object", "properties": { "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "paidBy": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.PaidBy" }, "shippingRate": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.SearchReturnMethods.ShippingRateDto" }, "carrierServiceRoute": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.SearchReturnMethods.CarrierServiceRouteDto" }, "isShippingRateWaived": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.SearchReturnMethods.CarrierServiceRouteDto": { "type": "object", "properties": { "carrierServiceRouteId": { "type": "string" }, "eswCarrierIdentifier": { "type": "string" }, "carrierName": { "type": "string" }, "serviceType": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ServiceType" }, "carrierServiceCode": { "type": "string" }, "carrierServiceName": { "type": "string" }, "isPaperlessRoute": { "type": "boolean" }, "isLocationRequired": { "type": "boolean" }, "returnsCollections": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.SearchReturnMethods.ShippingRateDto": { "type": "object", "properties": { "amount": { "type": "number", "format": "double" }, "currency": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Domain.Enums.ServiceType": { "enum": [ "Express", "Post", "PUDO", "Collection" ], "type": "string", "x-ms-enum": { "name": "ServiceType", "modelAsString": true } }, "Returns.Oms.Api.UseCases.GetTrackingEvents.GetTrackingEventsWebRequest": { "type": "object", "properties": { "outboundOrderReference": { "type": "string", "description": "Outbound Order Reference", "example": "A47C9F22-9B1D-48E7-93F2-4AC912" }, "trackingReference": { "type": "integer", "description": "Tracking reference", "format": "int64", "example": 20077466295 }, "emailAddress": { "type": "string", "description": "Email address", "example": "shopper@eshopworld.com" }, "isViewableByShopper": { "type": "boolean", "description": "Is viewable by shopper" } }, "additionalProperties": false, "description": "Get tracking events web request" }, "Returns.Oms.Application.UseCases.GetTrackingEvents.GetTrackingEventsResponse": { "type": "object", "properties": { "milestones": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.GetTrackingEvents.MilestoneResponseDto" } }, "events": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.GetTrackingEvents.TrackingEventDetailsResponseDto" } }, "carrier": { "type": "string" }, "carrierReference": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.GetTrackingEvents.MilestoneResponseDto": { "type": "object", "properties": { "code": { "type": "string" }, "dateTime": { "type": "string", "format": "date-time" }, "location": { "type": "string" }, "isCurrentMilestone": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.GetTrackingEvents.TrackingEventDetailsResponseDto": { "type": "object", "properties": { "code": { "type": "string" }, "dateTime": { "type": "string", "format": "date-time" }, "location": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.GetCountryConfiguration.GetCountryConfigurationResponse": { "type": "object", "properties": { "organisationId": { "type": "string" }, "tenantCode": { "type": "string" }, "brandCode": { "type": "string" }, "brandName": { "type": "string" }, "countryIso": { "type": "string" }, "currencyIso": { "type": "string" }, "returnsOmsEnabled": { "type": "boolean" }, "portalSettings": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.BrandCountryPortalSettingsDto" }, "locales": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.LocaleDto" } }, "brandCountryReturnsCentreSettings": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.BrandCountryReturnsCentreSettingsDto" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.BrandCountryPortalSettingsDto": { "type": "object", "properties": { "customerReturnReasonCodes": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.CustomerReturnReasonCodeDto" } }, "returnsPortalConfigurationSettings": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnsPortalConfigurationSettingsDto" }, "blockDefectiveDangerGoods": { "type": "boolean" }, "returnToStoreIsEnabled": { "type": "boolean" }, "ingestionEnabled": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.BrandCountryReturnsCentreSettingsDto": { "type": "object", "properties": { "returnsCentreProcessingFee": { "$ref": "#/components/schemas/Returns.Oms.Domain.Entities.ReturnsCentreProcessingFeeModel" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.LocaleDto": { "type": "object", "properties": { "name": { "type": "string" }, "cultureInfoCode": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.CustomerReturnReasonCodeDto": { "type": "object", "properties": { "code": { "type": "string" }, "description": { "type": "string" }, "isRetailerAtFault": { "type": "boolean" }, "visibleOnUI": { "type": "boolean" }, "descriptionRequired": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ReturnsPortalConfigurationSettingsDto": { "type": "object", "properties": { "showRefund": { "type": "boolean" }, "showLabel": { "type": "boolean" }, "returnReasonMandatory": { "type": "boolean" }, "noOfDaysAllowedForReturn": { "type": "integer", "format": "int32" }, "numberOfDeliveryDaysRequired": { "type": "integer", "format": "int32" }, "shippedPeriodDays": { "type": "integer", "format": "int32" }, "cancelOrderNoOfDays": { "type": "integer", "format": "int32" }, "isCancelOrderAllowed": { "type": "boolean" }, "supportNativeExchanges": { "type": "boolean" }, "displayImageThumbnails": { "type": "boolean" } }, "additionalProperties": false }, "Returns.Oms.Domain.Entities.ReturnsCentreProcessingFeeModel": { "type": "object", "properties": { "currencyIso": { "type": "string" }, "amount": { "type": "number", "format": "double" }, "applyForShopperAtFault": { "type": "boolean" }, "includeReturnFee": { "type": "boolean" }, "includeMemberAndNonMemberFee": { "type": "boolean" }, "memberFee": { "type": "number", "format": "double" }, "nonMemberFee": { "type": "number", "format": "double" } }, "additionalProperties": false }, "Returns.Oms.Api.UseCases.UpdateReturnOrder.UpdateReturnOrderWebRequest": { "type": "object", "properties": { "status": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnOrderStatus" }, "statusReason": { "type": "string", "description": "Return order status reason", "example": "On hold due to technical issues." }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateReturnOrder.UpdateReturnOrderItemDto" }, "description": "Return Items" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "skipSortationAndSplit": { "type": "boolean", "description": "if the skip flag equal true then the return order will not be spilled or sorted." }, "addItemForOnHold": { "type": "boolean", "description": "If true, bypasses the validation of the return item processed status." } }, "additionalProperties": false, "description": "Update Return Order web request." }, "Returns.Oms.Api.UseCases.UpdateReturnOrder.UpdateReturnOrderWebResponse": { "type": "object", "properties": { "contacts": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateReturnOrder.CreateReturnLabelDtos.ReturnContactInformationDto" }, "description": "Return Order Contacts" }, "id": { "type": "string", "description": "Id", "example": "GOCAS-5000002251" }, "status": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnOrderStatus" }, "returnAdminCentreCode": { "type": "string", "description": "Return Admin Centre Code", "example": "RUMDC" }, "storeReturnsCentreCode": { "type": "string", "description": "Store Returns Centre Code (for RTS returns)", "example": "USRET" }, "returnsListingsGuid": { "type": "string", "description": "Returns listing guid", "format": "uuid", "example": "4039312f-868d-4c64-ae6a-b6c9be74d07b" }, "returnType": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.Common.ReturnType" }, "returnOrderNumber": { "type": "string", "description": "Return order number", "example": "5005839493929" }, "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route" }, "paidBy": { "type": "string", "description": "Paid By", "example": "Retailer" }, "carrierIdentifier": { "type": "string", "description": "Carrier Identifier", "example": "Royal Mail" }, "countryCode": { "type": "string", "description": "Country Code (Origin Country ISO)", "example": "GB" }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "orderReference": { "type": "string", "description": "Order Reference", "example": "3453434433" }, "externalBrandIdentifier": { "type": "string", "description": "External brand identifier", "example": "ALPHA-001" }, "createdOn": { "type": "string", "description": "Date return order was created on", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "lastUpdated": { "type": "string", "description": "Date return order was last updated", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "returnProcessedOn": { "type": "string", "description": "Date return order was processed", "format": "date-time", "example": "2022-04-26T09:20:51.1720506+00:00" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnOrderItemDto" }, "description": "Return items" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "routeCode": { "type": "string", "description": "RouteCode" }, "paymentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.PaymentInformationDto" }, "store": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.StoreDto" }, "waivedShippingCost": { "type": "boolean", "description": "Waived shipping cost" }, "splitInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.SplitInformationDto" }, "rejectedReturnPackage": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateReturnOrder.RejectedReturnPackageDto" }, "retailerIdentifier": { "type": "string", "description": "Retailer Identifier", "example": "RETAILER123" }, "virtualBrandId": { "type": "string", "description": "Virtual Brand Id", "example": "063737ac-2592-4463-a732-d14ca62d4ca8" }, "virtualBrandName": { "type": "string", "description": "Virtual Brand Name", "example": "Alpha Brand" } }, "additionalProperties": false, "description": "Update Return Order web response." }, "Returns.Oms.Application.UseCases.UpdateReturnOrder.UpdateReturnOrderItemDto": { "type": "object", "properties": { "returnItemStatus": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateReturnOrder.UpdateReturnItemStatus" }, "rejectionReason": { "type": "string" }, "reasonCodeOverride": { "type": "string" }, "reasonCode": { "type": "string" }, "grading": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReturnItemGradingDto" }, "id": { "type": "string" }, "productCode": { "type": "string" }, "lineItemId": { "type": "string" }, "retailerLineItemId": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.UpdateReturnOrder.UpdateReturnItemStatus": { "enum": [ "InProgress", "Accepted", "Rejected" ], "type": "string", "x-ms-enum": { "name": "UpdateReturnItemStatus", "modelAsString": true } }, "Returns.Oms.Api.UseCases.CreateLiteReturnOrder.CreateLiteReturnOrderWebRequest": { "type": "object", "properties": { "orderReference": { "type": "string", "description": "Order reference", "example": "REF4181811" }, "returnMethod": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ReturnMethod" }, "paidBy": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.PaidBy" }, "carrierIdentifier": { "type": "string", "description": "Carrier identifier", "example": "Royal Mail" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route", "example": true }, "cultureLanguageIso": { "type": "string", "description": "Culture language ISO", "example": "fr-FR" }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "contactInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLiteReturnOrder.LiteReturnContactInformationDto" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLiteReturnOrder.LiteReturnItemDto" }, "description": "Return Items" }, "returnAdminCentreCodeOverride": { "type": "string", "description": "Return admin centre code override", "example": "AUCOW" }, "includeLabelInResponse": { "type": "boolean", "description": "Creates Lite Return and label synchronously when true. \r\nDefault is false and will create the label asynchronously." }, "includeInstructions": { "type": "boolean", "description": "Include instructions with label." }, "labelFormat": { "type": "string", "description": "Label Format (ZPL, PDF or PNG)" } }, "additionalProperties": false, "description": "Create lite return order web request" }, "Returns.Oms.Api.UseCases.CreateLiteReturnOrder.CreateLiteReturnOrderWebResponse": { "type": "object", "properties": { "orderReference": { "type": "string", "description": "Order reference", "example": "REF4181811" }, "returnOrderNumber": { "type": "string", "description": "Return Order Number", "example": "1000002303" }, "returnsListingsGuid": { "type": "string", "description": "Returns Listings Guid", "format": "uuid", "example": "4c071f76-e27b-4291-a29h1" }, "returnMethod": { "type": "string", "description": "Return Method", "example": "Postal" }, "paidBy": { "type": "string", "description": "Paid By", "example": "Retailer" }, "carrierIdentifier": { "type": "string", "description": "Carrier Identifier", "example": "Royal Mail" }, "isPaperlessRoute": { "type": "boolean", "description": "Is paperless route", "example": true }, "dropOffLocation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DropOffLocationDto" }, "returnItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLiteReturnOrder.LiteReturnItemDto" }, "description": "Return Items" }, "returnAdminCentreCode": { "type": "string", "description": "Returns Admin Centre Id" }, "paymentRedirectUrl": { "type": "string", "description": "Payment redirect url" }, "contentType": { "type": "string", "description": "ContentType - application/pdf" }, "label": { "type": "string", "description": "Label - Base64 string of Label", "example": "654321" }, "carrierTrackingReference": { "type": "string", "description": "Carrier Tracking Reference" } }, "additionalProperties": false, "description": "Create lite return order web response" }, "Returns.Oms.Application.UseCases.CreateLiteReturnOrder.LiteReturnContactInformationDto": { "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "city": { "type": "string" }, "postalCode": { "type": "string" }, "countryIso": { "type": "string" }, "region": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateLiteReturnOrder.LiteReturnItemDto": { "type": "object", "properties": { "productCode": { "type": "string" }, "quantity": { "type": "integer", "format": "int32" }, "reasonCode": { "type": "string" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" } }, "additionalProperties": false }, "Returns.Oms.Api.UseCases.LabelRequest.LabelRequestWebRequest": { "type": "object", "properties": { "outboundOrderReference": { "type": "string", "description": "Outbound order reference", "example": "123456" }, "shippingReference": { "type": "string", "description": "Shipping reference", "example": "123456" }, "shopperAddress": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLabelRequest.ShopperAddressDto" }, "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLabelRequest.OrderItemsDto" }, "description": "Order items" }, "includeInstructions": { "type": "boolean", "description": "Include instructions with LIAB label" }, "labelFormat": { "type": "string", "description": "Label Format (ZPL or PDF)" } }, "additionalProperties": false, "description": "Web Request for requesting a pre printed label" }, "Returns.Oms.Application.UseCases.CreateLabelRequest.CreateLabelRequestResponse": { "type": "object", "properties": { "prePrintedLabelNumber": { "type": "string" }, "orderReference": { "type": "string" }, "shippingReference": { "type": "string" }, "contentType": { "type": "string" }, "carrierTrackingReference": { "type": "string" }, "label": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateLabelRequest.OrderItemsDto": { "type": "object", "properties": { "id": { "type": "string" }, "productCode": { "type": "string" }, "monolithId": { "type": "integer", "format": "int64" }, "parentProductCode": { "type": "string" }, "lineItemId": { "type": "string" }, "quantity": { "type": "integer", "format": "int32" }, "productDescription": { "type": "string" }, "productCustomsDescription": { "type": "string" }, "composition": { "type": "string" }, "countryOfOriginIso": { "type": "string" }, "hsCode": { "type": "string" }, "hsCodeRegion": { "type": "string" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLabelRequest.LabelRequestWeightDto" }, "unitCharges": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Domain.Entities.UnitCharge" } }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "shippingInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateLabelRequest.LabelRequestShippingInformationRequestDto" }, "colour": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "category": { "type": "string" }, "categoryDescription": { "type": "string" }, "personalized": { "type": "boolean" }, "dangerousGoods": { "type": "boolean" }, "unitedNationsNumber": { "type": "string" }, "packingInstructions": { "type": "string" }, "prohibitedForReturns": { "type": "boolean" }, "source": { "type": "string" }, "material": { "type": "string" }, "productImageUrl": { "type": "string" }, "mid": { "type": "string" }, "midZipCode": { "type": "string" }, "color": { "type": "string" }, "gender": { "type": "string" }, "ageGroup": { "type": "string" }, "productUrl": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateLabelRequest.ShopperAddressDto": { "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "unit": { "type": "string" }, "poBox": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "region": { "type": "string" }, "postalCode": { "type": "string" }, "countryIso": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" }, "cultureLanguageIso": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateLabelRequest.LabelRequestShippingInformationRequestDto": { "type": "object", "properties": { "shippingReference": { "type": "string" }, "barcodeReference": { "type": "string" }, "carrierReference": { "type": "string" }, "shippingStatus": { "type": "string" }, "statusDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateLabelRequest.LabelRequestWeightDto": { "type": "object", "properties": { "itemWeight": { "type": "number", "format": "double" }, "weightUnit": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Domain.Entities.UnitCharge": { "type": "object", "properties": { "name": { "type": "string" }, "amount": { "type": "number", "format": "double" }, "currency": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Api.UseCases.CreateOrder.CreateOrderWebRequest": { "type": "object", "properties": { "orderReference": { "type": "string", "description": "Order Reference", "example": "1636646500" }, "contactInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateOrder.OrderContactInformationRequestDto" }, "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.OrderItemWebRequestDto" }, "description": "Product items" }, "customFields": { "type": "object", "additionalProperties": { "additionalProperties": { "type": "string" } }, "description": "Custom fields" }, "canOverwrite": { "type": "boolean", "description": "Can Overwrite", "example": true }, "retailerIdentifier": { "type": "string", "description": "Retailer Identifier", "example": "1636646500" }, "externalBrandIdentifier": { "type": "string", "description": "External Brand Identifier", "example": "bb182dfd-04f0-4262-b212-c4805b4eccca" } }, "additionalProperties": false, "description": "Web Request for creating an outbound order" }, "Returns.Oms.Api.UseCases.CreateOrder.CreateOrderWebResponse": { "type": "object", "properties": { "id": { "type": "string", "description": "Outbound order identifier", "example": "FBAFBA-1636646500" }, "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.OrderItemWebResponse" }, "description": "Order items" } }, "additionalProperties": false, "description": "Web Response for successful Outbound Order Create" }, "Returns.Oms.Api.UseCases.CreateOrder.OrderItemWebRequestDto": { "type": "object", "properties": { "productCode": { "type": "string", "description": "Product code", "example": "0607337" }, "merchantId": { "type": "string", "description": "Optional merchant product identifier, independent of ProductCode." }, "manufactureId": { "type": "string", "description": "Optional manufacturer product identifier, independent of ProductCode and customs MID." }, "ean": { "type": "string", "description": "Optional European Article Number, including any leading zeros.", "example": "0012345678905" }, "upc": { "type": "string", "description": "Optional Universal Product Code, including any leading zeros.", "example": "001234567890" }, "lineItemId": { "type": "string", "description": "Line item id", "example": "1" }, "quantity": { "type": "integer", "description": "Quantity", "format": "int32", "example": 2 }, "productDescription": { "type": "string", "description": "Product description", "example": "Ultra Slim Watch" }, "productCustomsDescription": { "type": "string", "description": "Product customs description", "example": "Watch" }, "composition": { "type": "string", "description": "Material composition" }, "countryOfOriginIso": { "type": "string", "description": "Country of origin iso", "example": "CN" }, "hsCode": { "type": "string", "description": "Hs code", "example": "6211490" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.WeightWebRequestDto" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "shippingInformation": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.Common.ShippingInformationWebRequestDto" }, "productImageUrl": { "type": "string", "description": "Product image url", "example": "https://cdn.brand.com/img/221" }, "color": { "type": "string", "description": "Color", "example": "Black" }, "size": { "type": "string", "description": "Size", "example": "Small" }, "serialNumber": { "type": "string", "description": "Serial Number", "example": "SN123456789" }, "category": { "type": "string", "description": "Category", "example": "Watches" }, "personalized": { "type": "boolean", "description": "Is Personalized", "example": true }, "isDigital": { "type": "boolean", "description": "Is digital", "example": true }, "dangerousGoods": { "type": "boolean", "description": "Is dangerous goods", "example": true }, "unitedNationsNumber": { "type": "string", "description": "United Nations Number used for dangerous goods", "example": "A908341" }, "packingInstructions": { "type": "string", "description": "PI packing instructions", "example": "Fragile package" }, "prohibitedForReturns": { "type": "boolean", "description": "Is prohibited for returns", "example": true }, "fulfilmentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto" }, "mid": { "type": "string", "description": "MID", "example": "20491121" }, "midZipCode": { "type": "string", "description": "MIDZipCode", "example": "A41 341" } }, "additionalProperties": false, "description": "Order item Request DTO" }, "Returns.Oms.Api.UseCases.CreateOrder.OrderItemWebResponse": { "type": "object", "properties": { "id": { "type": "string", "description": "Order item identifier", "example": "0013db57-885d-462b-a24c-80312a9c3207" }, "productCode": { "type": "string", "description": "Product code", "example": "0607377" }, "lineItemId": { "type": "string", "description": "Line item id", "example": "1" }, "productDescription": { "type": "string", "description": "Product description", "example": "Gocas Ultra Slim watch" } }, "additionalProperties": false, "description": "Order item Web Request" }, "Returns.Oms.Application.UseCases.CreateOrder.OrderContactInformationRequestDto": { "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "unit": { "type": "string" }, "poBox": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "region": { "type": "string" }, "postalCode": { "type": "string" }, "countryIso": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" }, "cultureLanguageIso": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Api.UseCases.Common.ShippingInformationWebRequestDto": { "type": "object", "properties": { "shippingReference": { "type": "string", "description": "Shipping reference", "example": "FBA_1636646500B" }, "barcodeReference": { "type": "string", "description": "Barcode reference", "example": "5 012345 678900" }, "shippingStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ShippingStatus" }, "statusDate": { "type": "string", "description": "Status date", "format": "date-time", "example": "2021-12-20T14:56:50.0300000+00:00" } }, "additionalProperties": false, "description": "Shipping information web request DTO" }, "Returns.Oms.Api.UseCases.CreateOrder.WeightWebRequestDto": { "type": "object", "properties": { "weightTotal": { "type": "number", "description": "Weight total", "format": "double", "example": 1.2 }, "weightUnit": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.RequestWeightUnit" } }, "additionalProperties": false, "description": "Weight Request DTO" }, "Returns.Oms.Api.UseCases.CreateOrder.RequestWeightUnit": { "enum": [ "Kg", "Lb" ], "type": "string", "description": "Request weight unit", "x-ms-enum": { "name": "RequestWeightUnit", "modelAsString": true } }, "Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderWebRequest": { "type": "object", "properties": { "contactInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.UpdateOrder.ContactInformationUpdateRequestDto" }, "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.CreateOrder.OrderItemWebRequestDto" }, "description": "Product items" }, "customFields": { "type": "object", "additionalProperties": { "additionalProperties": { "type": "string" } }, "description": "Custom fields" }, "retailerIdentifier": { "type": "string", "description": "Retailer Identifier", "example": "1636646500" }, "externalBrandIdentifier": { "type": "string", "description": "External Brand Identifier", "example": "bb182dfd-04f0-4262-b212-c4805b4eccca" } }, "additionalProperties": false, "description": "Web Request for updating an outbound order" }, "Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderWebResponse": { "type": "object", "properties": { "contactInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateOrder.OrderContactInformationRequestDto" }, "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderItemRequestDto" }, "description": "Product items" }, "customFields": { "type": "object", "additionalProperties": { "additionalProperties": { "type": "string" } }, "description": "Custom fields" } }, "additionalProperties": false, "description": "Web Response for updating an outbound order" }, "Returns.Oms.Application.UseCases.Common.OrderItemRequestDto": { "type": "object", "properties": { "id": { "type": "string" }, "productCode": { "type": "string" }, "merchantId": { "type": "string" }, "manufactureId": { "type": "string" }, "monolithId": { "type": "integer", "format": "int64" }, "parentProductCode": { "type": "string" }, "lineItemId": { "type": "string" }, "retailerLineItemId": { "type": "string" }, "quantity": { "type": "integer", "format": "int32" }, "productDescription": { "type": "string" }, "productCustomsDescription": { "type": "string" }, "composition": { "type": "string" }, "countryOfOriginIso": { "type": "string" }, "hsCode": { "type": "string" }, "hsCodeRegion": { "type": "string" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "unitCharges": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitChargeDto" } }, "refundCharges": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitChargeDto" } }, "shippingInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateOrder.ShippingInformationRequestDto" }, "deliveryEstimates": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.DeliveryEstimatesDto" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ReplacementInformationDto" }, "productImageUrl": { "type": "string" }, "color": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "category": { "type": "string" }, "colorNumber": { "type": "string" }, "styleNumber": { "type": "string" }, "gtin": { "type": "string" }, "ean": { "type": "string" }, "upc": { "type": "string" }, "categoryDescription": { "type": "string" }, "personalized": { "type": "boolean" }, "isDigital": { "type": "boolean" }, "dangerousGoods": { "type": "boolean" }, "unitedNationsNumber": { "type": "string" }, "packingInstructions": { "type": "string" }, "prohibitedForReturns": { "type": "boolean" }, "source": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.OrderItemSource" }, "material": { "type": "string" }, "gender": { "type": "string" }, "ageGroup": { "type": "string" }, "productUrl": { "type": "string" }, "fulfilmentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto" }, "articlePaymentReceived": { "type": "boolean" }, "mid": { "type": "string" }, "midZipCode": { "type": "string" }, "promotions": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.PromotionDto" } } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.UpdateOrder.ContactInformationUpdateRequestDto": { "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "unit": { "type": "string" }, "poBox": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "city": { "type": "string" }, "region": { "type": "string" }, "postalCode": { "type": "string" }, "email": { "type": "string" }, "telephone": { "type": "string" }, "cultureLanguageIso": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.PromotionDto": { "type": "object", "properties": { "id": { "type": "string" }, "discountType": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.DiscountType" }, "discountValue": { "type": "number", "format": "double" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.CreateOrder.ShippingInformationRequestDto": { "type": "object", "properties": { "shippingReference": { "type": "string" }, "shippingReferenceLastMile": { "type": "string" }, "barcodeReference": { "type": "string" }, "carrierReference": { "type": "string" }, "shippingStatus": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.ShippingStatus" }, "statusDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "Returns.Oms.Domain.Enums.OrderItemSource": { "enum": [ 0, 1 ], "type": "integer", "format": "int32", "x-ms-enum": { "name": "OrderItemSource", "modelAsString": true } }, "Returns.Oms.Domain.Enums.DiscountType": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "format": "int32", "x-ms-enum": { "name": "DiscountType", "modelAsString": true } }, "Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderLastMileReferenceWebRequest": { "type": "object", "properties": { "carrierReference": { "type": "string", "description": "Carrier Reference" }, "shippingReferenceLastMile": { "type": "string", "description": "Last Mile Reference" } }, "additionalProperties": false, "description": "Web Request for updating an outbound order's last mile reference" }, "Returns.Oms.Api.UseCases.UpdateOrder.UpdateOrderLastMileReferenceWebResponse": { "type": "object", "properties": { "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.OrderItemRequestDto" }, "description": "Product items" } }, "additionalProperties": false, "description": "Web Response for updating an outbound order's last mile reference" }, "Returns.Oms.Api.UseCases.SubmitOutboundShipment.SubmitOutboundShipmentWebRequest": { "type": "object", "properties": { "orderReference": { "type": "string", "description": "Order Reference", "example": "1636646500" }, "shippingReference": { "type": "string", "description": "Shipping Reference", "example": "FBB_1636646500B" }, "barcodeReference": { "type": "string", "description": "Barcode Reference", "example": "5 012345 678900" }, "shippingDate": { "type": "string", "description": "Shipping Date", "format": "date-time", "example": "2022-01-10T11:48:58.7080000+00:00" }, "contactInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.CreateOrder.OrderContactInformationRequestDto" }, "shippingItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.SubmitOutboundShipment.ShippingItemRequestDto" }, "description": "Shipping Items" }, "shippingWeight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShippingWeightDto" }, "shippingDimensions": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShippingDimensionsDto" }, "customFields": { "type": "object", "additionalProperties": { "additionalProperties": { "type": "string" } }, "description": "Custom Fields" }, "retailerIdentifier": { "type": "string", "description": "Retailer Identifier", "example": "1636646500" }, "externalBrandIdentifier": { "type": "string", "description": "External Brand Identifier", "example": "bb182dfd-04f0-4262-b212-c4805b4eccca" } }, "additionalProperties": false, "description": "Submit Outbound Shipment Web Request Object" }, "Returns.Oms.Api.UseCases.SubmitOutboundShipment.SubmitOutboundShipmentWebResponse": { "type": "object", "properties": { "id": { "type": "string", "description": "Outbound order identifier", "example": "FBAFBA-1636646500" }, "shippingItems": { "type": "array", "items": { "$ref": "#/components/schemas/Returns.Oms.Api.UseCases.SubmitOutboundShipment.ShippingItemWebResponse" }, "description": "Shipping items" } }, "additionalProperties": false, "description": "Web Response for successful Submit Outbound Shipment" }, "Returns.Oms.Api.UseCases.SubmitOutboundShipment.ShippingItemWebResponse": { "type": "object", "properties": { "id": { "type": "string", "description": "Shipping item identifier", "example": "0013db57-885d-462b-a24c-80312a9c3207" }, "productCode": { "type": "string", "description": "Product code", "example": "0607377" }, "lineItemId": { "type": "string", "description": "Line item id", "example": "1" }, "productDescription": { "type": "string", "description": "Product description", "example": "Ultra Slim" } }, "additionalProperties": false, "description": "Shipping item Web Response" }, "Returns.Oms.Application.UseCases.Common.ShippingDimensionsDto": { "type": "object", "properties": { "length": { "type": "number", "format": "double" }, "width": { "type": "number", "format": "double" }, "height": { "type": "number", "format": "double" }, "unit": { "$ref": "#/components/schemas/Returns.Oms.Domain.Enums.DimensionsUnit" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ShippingWeightDto": { "type": "object", "properties": { "totalWeight": { "type": "number", "format": "double" }, "weightUnit": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.ShippingWeightUnit" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.SubmitOutboundShipment.ShippingItemRequestDto": { "type": "object", "properties": { "productCode": { "type": "string" }, "merchantId": { "type": "string" }, "manufactureId": { "type": "string" }, "lineItemId": { "type": "string" }, "ean": { "type": "string" }, "upc": { "type": "string" }, "quantity": { "type": "integer", "format": "int32" }, "productDescription": { "type": "string" }, "productCustomsDescription": { "type": "string" }, "composition": { "type": "string" }, "countryOfOriginIso": { "type": "string" }, "hsCode": { "type": "string" }, "weight": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.WeightDto" }, "unitPrice": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.UnitPriceDto" }, "productImageUrl": { "type": "string" }, "color": { "type": "string" }, "size": { "type": "string" }, "serialNumber": { "type": "string" }, "category": { "type": "string" }, "personalized": { "type": "boolean" }, "isDigital": { "type": "boolean" }, "dangerousGoods": { "type": "boolean" }, "unitedNationsNumber": { "type": "string" }, "packingInstructions": { "type": "string" }, "prohibitedForReturns": { "type": "boolean" }, "replacementInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.SubmitOutboundShipment.ShipmentReplacementInformationDto" }, "fulfilmentInformation": { "$ref": "#/components/schemas/Returns.Oms.Application.UseCases.Common.FulfilmentInformationDto" }, "mid": { "type": "string" }, "midZipCode": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Application.UseCases.Common.ShippingWeightUnit": { "enum": [ "Kg", "Lb" ], "type": "string", "x-ms-enum": { "name": "ShippingWeightUnit", "modelAsString": true } }, "Returns.Oms.Application.UseCases.SubmitOutboundShipment.ShipmentReplacementInformationDto": { "type": "object", "properties": { "replacedProductCode": { "type": "string" }, "replacedLineItemId": { "type": "string" } }, "additionalProperties": false }, "Returns.Oms.Domain.Enums.DimensionsUnit": { "enum": [ "Cm", "In" ], "type": "string", "x-ms-enum": { "name": "DimensionsUnit", "modelAsString": true } }, "Returns.Documentation.Domain.Models.BaseResponse": { "type": "object", "properties": { "userMessage": { "type": "string" }, "details": { "type": "string" } }, "additionalProperties": false }, "Returns.Documentation.Domain.Models.DocumentDetails": { "type": "object", "properties": { "orderReference": { "type": "string" }, "returnOrderNumber": { "type": "string" }, "contentType": { "type": "string" }, "documentStatus": { "$ref": "#/components/schemas/Returns.Documentation.Domain.Enums.ReturnDocumentStatus" }, "label": { "type": "string" }, "cultureLanguageIso": { "type": "string" }, "documentId": { "type": "string", "format": "uuid" }, "documentType": { "$ref": "#/components/schemas/Returns.Documentation.Domain.Models.ReturnDocumentType" }, "carrierInfoDetails": { "$ref": "#/components/schemas/Returns.Documentation.Domain.Models.CarrierInfoDetails" } }, "additionalProperties": false }, "Returns.Documentation.Domain.Enums.ReturnDocumentStatus": { "enum": [ "Processing", "Ready", "Failed" ], "type": "string", "x-ms-enum": { "name": "ReturnDocumentStatus", "modelAsString": true } }, "Returns.Documentation.Domain.Models.CarrierInfoDetails": { "type": "object", "properties": { "carrierId": { "type": "string" }, "carrierName": { "type": "string" }, "carrierReference": { "type": "string" }, "carrierTrackingReference": { "type": "string" } }, "additionalProperties": false }, "Returns.Documentation.Domain.Models.ReturnDocumentType": { "enum": [ "ReturnLabel", "LastMileLabel", "PrePrintedLabel", "RejectedReturnLabel" ], "type": "string", "x-ms-enum": { "name": "ReturnDocumentType", "modelAsString": true } }, "GetLocationsResponseDto": { "type": "object", "properties": { "locations": { "type": "array", "items": { "$ref": "#/components/schemas/LocationResponseDto" }, "description": "The list of locations found matching the criteria." } }, "description": "Get locations response DTO implementation." }, "ProblemDetails": { "type": "object", "properties": { "type": { "type": "string" }, "title": { "type": "string" }, "status": { "type": "string" }, "detail": { "type": "string" }, "instance": { "type": "string" } }, "additionalProperties": { } }, "ValidationProblemDetails": { "type": "object", "properties": { "errors": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "type": { "type": "string" }, "title": { "type": "string" }, "status": { "type": "string" }, "detail": { "type": "string" }, "instance": { "type": "string" } }, "additionalProperties": { } }, "LocationResponseDto": { "type": "object", "properties": { "id": { "type": "string", "description": "The Location identifier. Could be the StoreId, KioskId, OutletId, PickupLocationId etc." }, "eswId": { "type": "string", "description": "The EswId identifier. Added for StoreId. Data team expects to get unique store id (GUID) from OMS." }, "type": { "$ref": "#/components/schemas/LocationType" }, "name": { "type": "string", "description": "The name of the location eg Store Name, Pop Station Name etc." }, "shortName": { "type": "string", "description": "The shortened name of the location." }, "displayName": { "type": "string", "description": "The display name of the location." }, "address1": { "type": "string", "description": "Line 1 of the address." }, "address2": { "type": "string", "description": "Line 2 of the address." }, "address3": { "type": "string", "description": "Line 3 of the address." }, "displayAddress": { "type": "string", "description": "The display address." }, "city": { "type": "string", "description": "The city of the location." }, "postalCode": { "type": "string", "description": "The postal code of the location." }, "sortCode": { "type": "string", "description": "The sort code of the location." }, "region": { "type": "string", "description": "The region of the location." }, "countryCode": { "type": "string", "description": "The country code for the location." }, "country": { "type": "string", "description": "The country name for the location." }, "telephone": { "type": "string", "description": "The telephone number of the location." }, "email": { "type": "string", "description": "The email address of the location." }, "latitude": { "type": "number", "description": "Latitude co-ordinates of the location.", "format": "double" }, "longitude": { "type": "number", "description": "Longitude co-ordinates of the location.", "format": "double" }, "distanceInKms": { "type": "number", "description": "Distance to the location in kilometres.", "format": "double" }, "openingTimesDescription": { "type": "string", "description": "The opening times description for the location." }, "openingTimes": { "type": "array", "items": { "$ref": "#/components/schemas/OpeningTimeResponseDto" }, "description": "The opening times for the location." }, "carrierCode": { "type": "string" }, "carrierServiceRouteId": { "type": "string" }, "locationCapabilities": { "$ref": "#/components/schemas/LocationCapabilities" }, "isApproximate": { "type": "boolean" } }, "description": "Location DTO implementation." }, "LocationCapabilities": { "enum": [ "None", "Shop", "PrintInStore", "PackagelessReturns", "NextDayDropOff", "AcceptDelivery", "AcceptDropOff" ], "type": "string" }, "LocationType": { "enum": [ "Store", "Pudo", "Locker" ], "type": "string" }, "OpeningTimeResponseDto": { "type": "object", "properties": { "day": { "$ref": "#/components/schemas/DayOfWeek" }, "opens": { "type": "string" }, "closes": { "type": "string" }, "storeAvailability": { "$ref": "#/components/schemas/StoreAvailability" } }, "description": "Opening time response DTO implementation." }, "DayOfWeek": { "enum": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "type": "string" }, "StoreAvailability": { "enum": [ "Default", "ClosedWholeDay", "OpenedWholeDay" ], "type": "string" } }, "securitySchemes": { "Bearer": { "type": "apiKey", "description": "Please insert JWT with Bearer into field", "name": "Authorization", "in": "header" } } }, "security": [ { "Bearer": [ ] } ] }