Consultar Atributos
Endpoint
https://sellercenter-api.falabella.com/?Action=GetCategoryAttributesGetCategoryAttributes. Para una categoría determinada, utilizando el campo PrimaryCategory (CategoryId), puedes obtener los atributos relacionados a esta categoría
Cambios en los atributos
Cada vez que un atributo cambie ya sea por temas interno o por temas regulatorios se avisará con anticipación a los comercios. Temas regulatorios: 30 días de anticipación. Temas internos: 90 días de anticipación.
Parámetros
Action
GetCategoryAttributesFormat
XMLTimestamp
UserID
Version
Headers
accept
application/xml, application/json. application/jsonLos campos de respuesta proporcionados por esta API se encuentran detallados en la siguiente tabla:
| Nombre | Tipo | Descripción |
|---|---|---|
| Name | String | Identificador del atributo |
| Label | String | Nombre para mostrar legible por humanos del atributo |
| isMandatory | Boolean | Si el atributo es obligatorio (1 = mandatorio - 0 = no mandatorio) |
| Description | String | Descripción del atributo |
| AttributeType | String | Tipo de atributo, si su valor es system, cuando se cree el producto, el atributo deberá ir fuera de productdata. |
| ExampleValue | String | Valor de ejemplo para el atributo |
| Options | Node | Enumera todos los nodos de opciones |
Respuesta 200
<?xml version="1.0" encoding="UTF-8"?>
<SuccessResponse>
<Head>
<RequestId/>
<RequestAction>GetCategoryAttributes</RequestAction>
<ResponseType>Attributes</ResponseType>
<Timestamp>2015-07-01T11:11:11+0000</Timestamp>
</Head>
<Body>
<Attribute>
<Label>Memory Size (GB)</Label>
<Name>storage_capacity</Name>
<GlobalIdentifier/>
<isMandatory>0</isMandatory>
<Description> Memory Size</Description>
<AttributeType>value</AttributeType>
<ExampleValue/>
<Options/>
</Attribute>
<Attribute>
<Label>Processor</Label>
<Name>cpu_brand</Name>
<GlobalIdentifier/>
<isMandatory>0</isMandatory>
<Description/>
<AttributeType>option</AttributeType>
<ExampleValue/>
<Options>
<Option>
<GlobalIdentifier/>
<Name>Intel</Name>
<isDefault>0</isDefault>
</Option>
<Option>
<GlobalIdentifier/>
<Name>AMD</Name>
<isDefault>0</isDefault>
</Option>
<Option>
<GlobalIdentifier/>
<Name>NVIDIA</Name>
<isDefault>0</isDefault>
</Option>
</Options>
</Attribute>
<Attribute>
<Label>TaxClass</Label>
<Name>TaxClass</Name>
<GlobalIdentifier/>
<isMandatory>0</isMandatory>
<Description/>
<AttributeType>option</AttributeType>
<ExampleValue/>
<Options>
<Option>
<GlobalIdentifier/>
<Name>default 23</Name>
<isDefault>1</isDefault>
</Option>
<Option>
<GlobalIdentifier/>
<Name>zero</Name>
<isDefault>0</isDefault>
</Option>
</Options>
</Attribute>
<Attribute>
<Label>ShipmentType</Label>
<Name>ShipmentType</Name>
<GlobalIdentifier/>
<isMandatory>0</isMandatory>
<Description/>
<AttributeType>option</AttributeType>
<ExampleValue/>
<Options>
<Option>
<GlobalIdentifier/>
<Name>Dropshipping</Name>
<isDefault>0</isDefault>
</Option>
<Option>
<GlobalIdentifier/>
<Name>Cross docking</Name>
<isDefault>0</isDefault>
</Option>
</Options>
</Attribute>
</Body>
</SuccessResponse>Campo isMandatory es IMPORTANTE
Recuerda que importante siempre llenar los campos que están asignados como "mandatorios", ya que un gran porcentaje de errores en la carga de catalogo se debe a la omisión de este campo. En el caso de que un atributo cambie su condición de no mandatorio a mandatorio se comunicará 90 días con anticipación vía correo a los contactos registrados por el seller.
Errores
| Código de error | Mensaje |
|---|---|
| 57 | E057: No attribute sets linked to that category (No hay conjuntos de atributos vinculados a esa categoría). |