# Register validation of returns for an ecommere order Allows to notify the result of validation process of the returns received by the merchant operational teams Endpoint: POST /orders/{order_name}/return_gradings Version: 1.4.2 Security: bearerAuth ## Path parameters: - `order_name` (string, required) Name of ecommerce order Example: "64231" ## Request fields (application/new-items+json): - `shopCode` (string) Shop code which belongs the return request or RMA. This field is mandatory if the authorization token will be used by more than one shop. In case this field is not informed, it will be obtained from security context. In case it is informed, it will be validated against the security context Example: "marchelacolombine" - `returnName` (string) Name of the return that has been validated Example: "R1-64231" - `customerEmail` (string) Email associated to the customer Example: "customer@if.com" - `returnLineItems` (array, required) List of items that have been graded - `returnLineItems.sku` (string, required) SKU of the graded item - `returnLineItems.status` (string, required) Validation status assigned to the graded item Enum: "APPROVED", "REJECTED" - `returnLineItems.note` (string) Additional notes for the validation of the item - `returnLineItems.validatedAt` (string) Date when the validation was performed (UTC) Example: "2022-11-17 12:01:00" - `returnLineItems.refundType` (string) Refund method the customer can select for the returned item Enum: "ORIGINAL_PAYMENT_METHOD", "STORE_CREDIT", "EXCHANGE", "GIFT_CARD" ## Response 200 fields (application/json): - `statusCode` (string) Example: "200" - `description` (string) Example: "Your grading have been received correctly" ## Response 400 fields ## Response 401 fields ## Response 404 fields ## Response 405 fields ## Response 500 fields