List items viable for return for a specific order

GET /V1/stock-hub/rma/po-number/{poNumber}

List items viable for return for a specific order

Path parameters

  • poNumber string Required

Responses

  • 200

    200 Success.

    Hide response attributes Show response attributes object
    • po_number string Required
    • increment_id string Required
    • items array[object] Required
      Hide items attributes Show items attributes object
      • item_id integer Required
      • reasons array[string] Required
      • resolutions array[string] Required
      • sizes array[string] Required
      • sku string Required
      • parent_sku string
      • qty integer Required
      • item_price_inc_tax number Required
      • row_total_inc_tax number Required
      • manufacturer string Required
      • size string Required
      • mpn string Required
  • 401

    401 Unauthorized

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

  • default

    Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

GET /V1/stock-hub/rma/po-number/{poNumber}
curl \
 --request GET 'https://m2.winkelstraat.nl/rest/all/V1/stock-hub/rma/po-number/{poNumber}'
Response examples (200)
{
  "po_number": "string",
  "increment_id": "string",
  "items": [
    {
      "item_id": 42,
      "reasons": [
        "string"
      ],
      "resolutions": [
        "string"
      ],
      "sizes": [
        "string"
      ],
      "sku": "string",
      "parent_sku": "string",
      "qty": 42,
      "item_price_inc_tax": 42.0,
      "row_total_inc_tax": 42.0,
      "manufacturer": "string",
      "size": "string",
      "mpn": "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"
}