Skip to content

Instantly share code, notes, and snippets.

@xcommerce-gists
Last active January 2, 2016 20:19
Show Gist options
  • Save xcommerce-gists/8355901 to your computer and use it in GitHub Desktop.
Save xcommerce-gists/8355901 to your computer and use it in GitHub Desktop.
eBay Enterprise Item Master feed example
<?xml version="1.0" encoding="utf-8"?>
<ItemMaster>
<MessageHeader>
... <!-- omitted for brevity -->
</MessageHeader>
<Item operation_type="Add" gsi_client_id="YOUR-CLIENT-ID" catalog_id="45">
<ItemId>
<ClientItemId>45-000906011391</ClientItemId>
</ItemId>
<BaseAttributes>
... <!-- omitted for brevity -->
</BaseAttributes>
<ExtendedAttributes>
<AllowPackSlipMessage>true</AllowPackSlipMessage>
<Brand>
<Name>New Brand</Name>
<Description xml:lang="en-US">New Brand</Description>
</Brand>
<ColorAttributes>
<Color>
<Code>700</Code>
<Description xml:lang="en-US">VANILLA</Description>
</Color>
</ColorAttributes>
<HazardousMaterialCode>0</HazardousMaterialCode>
<ItemDimension>
<Display>
... <!-- omitted for brevity -->
</Display>
<Shipping>
... <!-- omitted for brevity -->
</Shipping>
<Carton>
... <!-- omitted for brevity -->
</Carton>
</ItemDimension>
<Manufacturer>
... <!-- omitted for brevity -->
</Manufacturer>
<MSRP>89.99</MSRP>
<Price>71.98</Price>
<SalesClass>advanceOrderLimited</SalesClass>
<SizeAttributes>
... <!-- omitted for brevity -->
</SizeAttributes>
<Style>
<StyleID>25077</StyleID>
</Style>
</ExtendedAttributes>
<CustomAttributes>
<!-- Code between these comments is required for all products! -->
<Attribute name="ProductType" operation_type="Add" is_list="false" dt="string">
<Value>Simple</Value>
</Attribute>
<!-- Code between these comments is required for all products! -->
<Attribute name="ConfigurableAttributes" xml:lang="en-US" operation_type="add">
<Value>Color</Value>
</Attribute>
<Attribute name="GII" operation_type="Add" is_list="false" dt="string">
<Value>30872035</Value>
</Attribute>
<Attribute name="DimensionCode" operation_type="Add" is_list="false" dt="string" xml:lang="en-US">
<Value>M</Value>
</Attribute>
... <!-- omitted for brevity -->
</CustomAttributes>
</Item>
</ItemMaster>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment