ReferenciaProductosGetBrandMappedAttributes
GET

GetBrandMappedAttributes

Endpoint

https://sellercenter-api.falabella.com/?Action=GetBrandMappedAttributes

Obtiene atributos mapeados para marcas.

NombreTipoDescripción
BrandsArrayLista de marcas que tienen mapeos
AttributesArrayLista de atributos que tienen mapeos para una marca
AttributeOptionsArrayLista de opciones de atributos que se mapean para un atributo y una marca
IdIntegerIdentificador de esta marca (Brand), atributo (Attribute) u opción de atributo (AttributeOption) asignado por Falabella Seller Center.
NameStringEl nombre real de la marca (Brand), atributo (Attribute) u opción de atributo (AttributeOption)
GlobalIdentifierStringUn identificador de cadena único a nivel mundial para la marca, el atributo o la opción de atributo en diferentes sistemas. Por ejemplo: ADIDAS, NIKE, APPLE, attribute\1, attribute\option_33

Parámetros

Action

string
Requerido
Nombre de la función que se va a llamar. Obligatorio y debe ser 'GetBrandMappedAttributes' en este caso. Si se omite, se devuelve un error 'E001: Parameter Action is mandatory' (La acción del parámetro es obligatoria). Si se proporciona una cadena de función desconocida, se devuelve un mensaje de error 'E008: Invalid Action' (Acción no válida). GetBrandMappedAttributes

Format

string
Opcional
Si se proporciona, debe ser 'JSON' o 'XML'. Si no se proporciona, se asume 'XML'. XML

Timestamp

date
Requerido
La hora actual en formato ISO8601 relativa a UTC (p. Ej., Marca de tiempo = 2015-04-01T10: 00: 00 + 02: 00 para Berlín), de modo que las llamadas no puedan ser reproducidas por un tercero que espíe (es decir, aquellas llamadas demasiado lejos en el pasado o en el futuro producen un mensaje de error). Obligatorio. Si no se proporciona, aparece el mensaje de error 'E001: La marca de tiempo del parámetro es obligatoria'. Si la marca de tiempo es demasiado antigua o está en el futuro, se devuelve un mensaje de error "E003: Timestamp has expired" (Timestamp expiró).

UserID

string
Opcional
El ID del usuario que realiza la llamada. La lista de usuarios autorizados se mantiene en la interfaz web del Centro de vendedores en Configuración general / Administrar usuarios.

Version

string
Requerido
La versión de API contra la que se ejecutará esta llamada, en formato mayor-punto-menor. Actualmente debe ser 1.0, aunque la versión real de la API es 2.6.20. Si se omite, se devuelve un mensaje de error "E001: Parameter Version is mandatory" (El parámetro Version es obligatorio).

Headers

accept

string
Opcional
Generado a partir de los tipos de contenido de respuesta disponibles. Valores permitidos: application/xml, application/json. application/json

Respuesta 200

<?xml version="1.0" encoding="UTF-8"?>
<SuccessResponse>
    <Head>
        <RequestId/>
        <RequestAction>GetBrandMappedAttributeOptions</RequestAction>
        <ResponseType>BrandMappedAttributeOptions</ResponseType>
        <Timestamp>2017-03-27T16:04:09+0200</Timestamp>
    </Head>
    <Body>
        <BrandMappedAttributeOptions>
            <Brands>
                <Brand>
                    <Id>0</Id>
                    <Name>Generic For Not Mapped Brands</Name>
                    <GlobalIdentifier/>
                    <Attributes>
                        <Attribute>
                            <Id>12</Id>
                            <Name>size_scale_mp</Name>
                            <GlobalIdentifier/>
                            <AttributeOptions>
                                <AttributeOption>
                                    <Id>59</Id>
                                    <Name>SHOES_SCALE_EU</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S1</GlobalIdentifier>
                                </AttributeOption>
                                <AttributeOption>
                                    <Id>60</Id>
                                    <Name>SHOES_SCALE_RUS</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S2</GlobalIdentifier>
                                </AttributeOption>
                                <AttributeOption>
                                    <Id>61</Id>
                                    <Name>SHOES_SCALE_UK</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S3</GlobalIdentifier>
                                </AttributeOption>
                            </AttributeOptions>
                        </Attribute>
                    </Attributes>
                </Brand>
                <Brand>
                    <Id>1</Id>
                    <Name>Brand1</Name>
                    <GlobalIdentifier>GLOBAL_ID_B1</GlobalIdentifier>
                    <Attributes>
                        <Attribute>
                            <Id>12</Id>
                            <Name>size_scale_mp</Name>
                            <GlobalIdentifier/>
                            <AttributeOptions>
                                <AttributeOption>
                                    <Id>59</Id>
                                    <Name>SHOES_SCALE_EU</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S1</GlobalIdentifier>
                                </AttributeOption>
                                <AttributeOption>
                                    <Id>60</Id>
                                    <Name>SHOES_SCALE_RUS</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S2</GlobalIdentifier>
                                </AttributeOption>
                            </AttributeOptions>
                        </Attribute>
                    </Attributes>
                </Brand>
                <Brand>
                    <Id>2</Id>
                    <Name>Brand 2</Name>
                    <GlobalIdentifier/>
                    <Attributes>
                        <Attribute>
                            <Id>12</Id>
                            <Name>size_scale_mp</Name>
                            <GlobalIdentifier/>
                            <AttributeOptions>
                                <AttributeOption>
                                    <Id>60</Id>
                                    <Name>SHOES_SCALE_RUS</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S2</GlobalIdentifier>
                                </AttributeOption>
                                <AttributeOption>
                                    <Id>61</Id>
                                    <Name>SHOES_SCALE_UK</Name>
                                    <GlobalIdentifier>GLOBAL_ID_S3</GlobalIdentifier>
                                </AttributeOption>
                            </AttributeOptions>
                        </Attribute>
                    </Attributes>
                </Brand>
                <Brand>
                    <Id>103</Id>
                    <Name>Brand 3</Name>
                    <GlobalIdentifier/>
                    <Attributes/>
                </Brand>
                <Brand>
                    <Id>110</Id>
                    <Name>Brand 4</Name>
                    <GlobalIdentifier/>
                    <Attributes/>
                </Brand>
            </Brands>
        </BrandMappedAttributeOptions>
    </Body>
</SuccessResponse>