Return data object for specified wrapping ID and store.
GET
/V1/gift-wrappings/{id}
curl \
--request 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 (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<wrapping-id type="integer">42</wrapping-id>
<design>string</design>
<status type="integer">42</status>
<base-price type="float">42.0</base-price>
<image-name>string</image-name>
<image-base64-content>string</image-base64-content>
<base-currency-code>string</base-currency-code>
<website-ids type="array">
<website-id type="integer">42</website-id>
</website-ids>
<image-url>string</image-url>
<extension-attributes>
</extension-attributes>
</root>
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 (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>