Get v1 international autocomplete context term

GET /V1/international/autocomplete/{context}/{term}

Path parameters

Responses

  • 200 Success.

    Hide response attribute Show response attribute object
  • 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
    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object
    • trace string

      Stack trace

GET /V1/international/autocomplete/{context}/{term}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/international/autocomplete/{context}/{term}
Response examples (200)
{
  "matches": [
    {
      "value": "string",
      "label": "string",
      "description": "string",
      "precision": "string",
      "context": "string",
      "highlights": [
        {
          "offsets": [
            42
          ]
        }
      ]
    }
  ]
}
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"
}