@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
147 lines (146 loc) • 4.74 kB
TypeScript
export interface MpItemMatch4 {
MPItem: MPItem[];
MPItemFeedHeader: MPItemFeedHeader;
}
export interface MPItem {
Item: Item;
}
export interface Item {
additionalOfferAttributes?: AdditionalOfferAttribute[];
additionalProductAttributes?: AdditionalProductAttribute[];
asin?: string;
price: number;
productCategory?: ProductCategory;
productIdentifiers: ProductIdentifiers;
ShippingWeight: number;
sku: string;
}
export interface AdditionalOfferAttribute {
additionalOfferAttributeName: string;
additionalOfferAttributeValue: string;
}
export interface AdditionalProductAttribute {
productAttributeName: string;
productAttributeValue: string;
}
export declare enum ProductCategory {
AnimalAccessories = "Animal Accessories",
AnimalFood = "Animal Food",
AnimalHealthGrooming = "Animal Health & Grooming",
AnimalOther = "Animal Other",
ArtCraft = "Art & Craft",
BabyClothing = "Baby Clothing",
BabyDiaperingCareOther = "Baby Diapering, Care, & Other",
BabyFood = "Baby Food",
BabyFurniture = "Baby Furniture",
BabyToys = "Baby Toys",
BabyTransport = "Baby Transport",
BeautyPersonalCareHygiene = "Beauty, Personal Care, & Hygiene",
Bedding = "Bedding",
BooksMagazines = "Books & Magazines",
BuildingSupply = "Building Supply",
CamerasLenses = "Cameras & Lenses",
CarriersAccessories = "Carriers & Accessories",
CasesBags = "Cases & Bags",
CeremonialClothingAccessories = "Ceremonial Clothing & Accessories",
Clothing = "Clothing",
ComputerComponents = "Computer Components",
Computers = "Computers",
Costumes = "Costumes",
Cycling = "Cycling",
DecorationsFavors = "Decorations & Favors",
Electrical = "Electrical",
ElectronicsAccessories = "Electronics Accessories",
ElectronicsCables = "Electronics Cables",
ElectronicsOther = "Electronics Other",
FoodBeverage = "Food & Beverage",
Footwear = "Footwear",
FuelsLubricants = "Fuels & Lubricants",
Funeral = "Funeral",
Furniture = "Furniture",
GardenPatio = "Garden & Patio",
GiftSupplyAwards = "Gift Supply & Awards",
GrillsOutdoorCooking = "Grills & Outdoor Cooking",
Hardware = "Hardware",
HealthBeautyElectronics = "Health & Beauty Electronics",
HomeDecorKitchenOther = "Home Decor, Kitchen, & Other",
HouseholdCleaningProductsSupplies = "Household Cleaning Products & Supplies",
InstrumentAccessories = "Instrument Accessories",
Jewelry = "Jewelry",
LandVehicles = "Land Vehicles",
LargeAppliances = "Large Appliances",
MedicalAidsEquipment = "Medical Aids & Equipment",
MedicineSupplements = "Medicine & Supplements",
Movies = "Movies",
Music = "Music",
MusicCasesBags = "Music Cases & Bags",
MusicalInstruments = "Musical Instruments",
Office = "Office",
Optical = "Optical",
Optics = "Optics",
Other = "Other",
PhotoAccessories = "Photo Accessories",
PlumbingHVAC = "Plumbing & HVAC",
PrintersScannersImaging = "Printers, Scanners, & Imaging",
SafetyEmergency = "Safety & Emergency",
Software = "Software",
SoundRecording = "Sound & Recording",
SportsRecreationOther = "Sports & Recreation Other",
Storage = "Storage",
TVShows = "TV Shows",
TVsVideoDisplays = "TVs & Video Displays",
Tires = "Tires",
Tools = "Tools",
ToolsHardwareOther = "Tools & Hardware Other",
Toys = "Toys",
VehicleOther = "Vehicle Other",
VehiclePartsAccessories = "Vehicle Parts & Accessories",
VideoGames = "Video Games",
VideoProjectors = "Video Projectors",
Watches = "Watches",
Watercraft = "Watercraft",
WheelsWheelComponents = "Wheels & Wheel Components"
}
export interface ProductIdentifiers {
productId: string;
productIdType: ProductIDType;
}
export declare enum ProductIDType {
Ean = "EAN",
Gtin = "GTIN",
Isbn = "ISBN",
Upc = "UPC"
}
export interface MPItemFeedHeader {
feedDate?: Date;
locale: Locale;
Mart?: Mart;
processMode?: ProcessMode;
requestBatchId?: string;
requestId?: string;
sellingChannel: SellingChannel;
subset?: string;
version: SpecVersion;
}
export declare enum Mart {
AsdaGm = "ASDA_GM",
WalmartCA = "WALMART_CA",
WalmartUs = "WALMART_US"
}
export declare enum Locale {
En = "en"
}
export declare enum ProcessMode {
Merge = "MERGE",
Replace = "REPLACE"
}
export declare enum SellingChannel {
Mpsetupbymatch = "mpsetupbymatch"
}
export declare enum SpecVersion {
The10 = "1.0"
}
export declare class Convert {
static toMpItemMatch4(json: string): MpItemMatch4;
static mpItemMatch4ToJson(value: MpItemMatch4): string;
}