This topic provides definitions for the fields in the location feed.
Sample feed files:
Note: The fields in the table below are ordered according to their order in the CSV feed file. The parent is provided for XML fields in order to make it easier to locate that field in the XML feed file.
Field name |
Description |
---|---|
CSV: XML: |
Required. The identifier for the store. Type: string Max length: 36 characters |
CSV: XML: |
Required. The store's name. Type: string Max length: 128 characters |
CSV: XML: |
Required for store locations; optional but recommended for other locations: The street address of the location. Type: string Max length: 128 characters |
CSV: XML: |
Optional. The second line of the street address, if needed. This second line might include suite number. Type: string Max length: 128 characters |
CSV: XML: |
Required for store locations. The city where the store is located. Type: string Max length: 128 characters |
CSV: XML: |
Required for store locations. The state or region where the store is located, typically a two-character abbreviation for a state or province. Type: string Max length: 128 characters |
CSV: XML: |
Required for store locations. The postal code where the store is located. Type: string Max length: 16 characters |
CSV: XML: |
Required. The country where the store is located. The value must be ISO 3166 three-digit codes. See: https://www.iso.org/iso-3166-country-codes.html Type: string Max length: 3 characters |
CSV: XML: |
Optional. The geographical latitude of the store. Always used together with longitude. Type: decimal Max length: 10 digits |
CSV: XML: |
Optional. The geographical longitude of the store. Always used together with latitude. Type: decimal Max length: 10 digits |
CSV: XML:
|
Optional. The store hours per day. "1" is Monday, "2" is Tuesday, and so on. A 4096-character max string. The data must be in JSON format. CSV example
Convert XML to CSV style JSON { "1" : [{"Open":"09:00:00", "Close":"12:00:00"}, {"Open":"13:00:00", "Close":"22:30:00"}], "2" : [{"Open":"09:00:00", "Close":"22:30:00"}], "3" : [{"Open":"09:00:00", "Close":"22:30:00"}], "4" : [{"Open":"09:00:00", "Close":"22:30:00"}], "5" : [{"Open":"09:00:00", "Close":"22:30:00"}], "6" : [{"Open":"09:00:00", "Close":"22:30:00"}], "7" : [{"Open":"09:00:00", "Close":"22:30:00"}] }
XML example
<hours> <day> <dayOfWeek>1</dayOfWeek> <interval> <open>08:00:00</open> <close>23:00:00</close> </interval> </day> <day> <dayOfWeek>2</dayOfWeek> <interval> <open>08:00:00</open> <close>23:00:00</close> </interval> </day> ••• <day> <dayOfWeek>7</dayOfWeek> <interval> <open>08:00:00</open> <close>21:00:00</close> </interval> </day> </hours>
Type: CSV: JSON XML: integer, time |
CSV: XML: |
Optional. Special hours in addition to regular hours noted above. A 4000-character max string. The data must be in JSON format. CSV example
Convert XML to CSV style JSON { "2014-11-24" : [{"Open":"09:00:00", "Close":"11:30:00"}, {"Open":"13:30:00", "Close":"17:30:00"}], "2014-11-25" : [{"Open":"09:00:00", "Close":"11:30:00"}, {"Open":"13:30:00", "Close":"17:30:00"}] }
XML example
<specialHours> <day> <date>2013-11-24</date> <interval> <open>09:00:00</open> <close>11:30:00</close> </interval> <interval> <open>13:30:00</open> <close>17:30:00</close> </interval> </day> <day> <date>2013-12-25</date> </day> </specialHours> Type: CSV: JSON XML: date, time |
CSV: XML: |
Conditionally required, if hours or special hours are set. The time zone difference from GMT. For example: Type: string Max length: 8 characters |
CSV: XML: |
Optional, but recommended. The phone number of the store. Applies to store locations only. Type: string Max length: 32 characters |
CSV: XML: |
Optional, but recommended. The URL of the store's website. Applies to store locations only. Type: string |
CSV: XML: |
Special instructions for picking up the item. For example: Type: string Max length: 2048 characters |
CSV: XML: |
Enables or disables a store location. A string with these valid values:
If omitted, this field is set to its default value ( Type: string |
CSV: XML: |
The location where the product can be picked up or delivered. A string with these valid values:
Important! If you use PICKUP_IN_STORE, you must also set pickupInStoreEligible in the distribution feed. See Distribution feed definitions The data must be in JSON format. CSV example
Convert to CSV style JSON {"fulfillmentCapability":["PICKUP_IN_STORE","SHIP_TO_HOME"]} XML example
Type: string |