---
updatedAt: 2026-06-11T18:59:29.000Z
agentTools:
  projectIndex: https://developers.moderndropship.com/llms.txt
---

# Rejects a return

An endpoint that allows sellers to reject returns.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@getcarro.com",
      "name": "Support",
      "url": "https://support.moderndropship.com"
    },
    "description": "This API reference documents endpoints that are exclusive to sellers.",
    "termsOfService": "https://support.moderndropship.com/terms-of-service",
    "title": "Seller API",
    "version": "v2022-03-03"
  },
  "paths": {
    "/orders/{order_id}/returns/{return_id}/reject": {
      "patch": {
        "description": "An endpoint that allows sellers to reject returns.",
        "operationId": "rejectReturn",
        "parameters": [
          {
            "description": "ID of the order",
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the return to be rejected",
            "in": "path",
            "name": "return_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/returns.RejectReturn"
              }
            }
          },
          "description": "The payload for rejecting a return",
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.APIWrapper"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/seller.ReturnResponse"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "summary": "Rejects a return",
        "tags": [
          "Order"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//api.moderndropship.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "api.APIWrapper": {
        "properties": {
          "data": {},
          "error": {
            "items": {
              "$ref": "#/components/schemas/api.ErrorMessage"
            },
            "type": "array"
          },
          "hasMore": {
            "type": "boolean"
          },
          "next": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ErrorMessage": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ErrorResponse": {
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.CommerceType": {
        "enum": [
          "",
          "buyer",
          "seller"
        ],
        "type": "string",
        "x-enum-varnames": [
          "CommerceTypeNone",
          "CommerceTypeBuyer",
          "CommerceTypeSeller"
        ]
      },
      "returns.RejectReturn": {
        "properties": {
          "rejectionReason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "seller.ReturnResponse": {
        "properties": {
          "acceptedAt": {
            "description": "The time at which the return was accepted by the seller.",
            "type": "string"
          },
          "buyerCode": {
            "description": "The buyer's reference for the return.",
            "type": "string"
          },
          "buyerCompanyObjectId": {
            "description": "The company object ID of the buyer for the return.",
            "type": "string"
          },
          "buyerItemCode": {
            "description": "The buyer's reference for the item in the fulfillment.",
            "type": "string"
          },
          "buyerOrderId": {
            "description": "The buyer's order ID for the return.",
            "type": "string"
          },
          "cancelledAt": {
            "description": "The time at which the return was cancelled.",
            "type": "string"
          },
          "cancelledBy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/models.CommerceType"
              }
            ],
            "description": "The company who cancelled the return, either the buyer or the seller."
          },
          "completedAt": {
            "description": "The time at which the return was marked as completed by the seller.",
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "orderId": {
            "description": "The seller's order ID for the return.",
            "type": "string"
          },
          "orderItemId": {
            "description": "The order item ID for the return - refers to the order item ID from the seller order.",
            "type": "string"
          },
          "quantity": {
            "description": "The quantity of the return.",
            "type": "integer"
          },
          "reason": {
            "description": "The reason for why the buyer is requesting a return.",
            "type": "string"
          },
          "rejectedAt": {
            "description": "The time at which the return was rejected by the seller.",
            "type": "string"
          },
          "rejectionReason": {
            "description": "The reason why the return was rejected by the seller.",
            "type": "string"
          },
          "sellerCode": {
            "description": "The seller's reference for the return.",
            "type": "string"
          },
          "sellerCompanyObjectId": {
            "description": "The company object ID of the seller for the return.",
            "type": "string"
          },
          "sellerItemCode": {
            "description": "The seller's reference for the item in the fulfillment.",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "syncedToBuyerAt": {
            "description": "The time at which the return was last synced to the buyer's platform.",
            "type": "string"
          },
          "syncedToSellerAt": {
            "description": "The time at which the return was last synced to the seller's platform.",
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  }
}
```