Get a specific return

GET /V1/stock-hub/rma/{rmaIncrementId}

Get a specific return

Responses

  • 200 Success.

    Hide response attributes Show response attributes object

    RMA entity

  • 401 Unauthorized

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Hide parameters attributes Show parameters attributes object

        Error parameters item

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object

      Error parameters item

    • trace string

      Stack trace

  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Hide parameters attributes Show parameters attributes object

        Error parameters item

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object

      Error parameters item

    • trace string

      Stack trace

GET /V1/stock-hub/rma/{rmaIncrementId}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/rma/{rmaIncrementId}
Response examples (200)
{
  "increment_id": "string",
  "order_increment_id": "string",
  "date_requested": "string",
  "items": [
    {
      "id": 42,
      "sku": "string",
      "resolution": "string",
      "reason": "string",
      "qty_requested": 42,
      "qty_approved": 42,
      "qty_returned": 42,
      "manufacturer": "string",
      "color": "string",
      "size": "string",
      "mpn": "string",
      "merchant_product_reference": "string",
      "merchant_resolution": "string",
      "parent_sku": "string",
      "item_return_fee": 42.0,
      "row_line_return_fee": 42.0
    }
  ],
  "status": "string",
  "track": {
    "tracking_number": "string",
    "carrier": "string",
    "method": "string",
    "tracking_url": "string"
  },
  "date_received": "string",
  "date_processed": "string",
  "currency": "string"
}
Response examples (401)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}