Return data object for specified wrapping ID and store

GET /V1/gift-wrappings/{id}

Return data object for specified wrapping ID and store.

Path parameters

  • id integer Required

Responses

GET /V1/gift-wrappings/{id}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/gift-wrappings/{id}
Response examples (200)
{
  "wrapping_id": 42,
  "design": "string",
  "status": 42,
  "base_price": 42.0,
  "image_name": "string",
  "image_base64_content": "string",
  "base_currency_code": "string",
  "website_ids": [
    42
  ],
  "image_url": "string",
  "extension_attributes": {}
}
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"
}