Skip to content

Instantly share code, notes, and snippets.

@adamthedeveloper
Last active April 8, 2017 01:46
Show Gist options
  • Save adamthedeveloper/2f04b79e7e5bfecfa4dd2d88f6f43e43 to your computer and use it in GitHub Desktop.
Save adamthedeveloper/2f04b79e7e5bfecfa4dd2d88f6f43e43 to your computer and use it in GitHub Desktop.
{"Id"=>4988119,
"Name"=>"letter opener",
"Description"=>
"Rectangular shaped letter opener. Solid design, safe, sharp stainless blade. Designed for promo gift, desktop, office, corporation, school, safety program, home.",
"ShortDescription"=>
"Rectangular shaped letter opener with sharp stainless blade, 3 1/4\" x 3 1/8\".",
"Number"=>"LO505",
"Numbers"=>["LO505"],
"ImageUrl"=>"media/5606585",
"Supplier"=>
{"Id"=>518046,
"Name"=>"Factory Direct Line LLC",
"AsiNumber"=>"53504",
"Phone"=>
{"Work"=>"(503) 214-2673", "Primary"=>"(503) 214-2673", "$index"=>1},
"Fax"=>
{"TollFree"=>"(866) 802-9541", "Primary"=>"(866) 802-9541", "$index"=>1},
"Email"=>"sales@factorydirectline.com",
"Websites"=>
["http://www.factorydirectline.com", "http://www.53504.asisupplier.com"],
"Rating"=>{"Rating"=>10, "Companies"=>16, "Transactions"=>38},
"MarketingPolicy"=>
"Supplier indicates they sell advertising specialties exclusively through distributors and/or incentive resellers",
"HasNotes"=>false},
"LineNames"=>["Factory Direct"],
"Catalog"=>
{"Id"=>204304,
"Name"=>"Factory Direct Line LLC asi/53504 - 2017",
"Year"=>"2017",
"CompanyId"=>0,
"ProductCount"=>0,
"EndUserSafe"=>false},
"Categories"=>
[{"Id"=>"L02356003",
"Name"=>"Razor",
"Parent"=>{"Id"=>"L02350003", "Name"=>"Letter Openers"}}],
"TradeNames"=>["FDL"],
"ProductionTime"=>
[{"Name"=>"5 business days",
"Description"=>
"Standard production time is 5-7 working days after artwork proof got approved.",
"Days"=>5}],
"RushTime"=>
[{"Name"=>"1 business days",
"Description"=>"1 working day",
"Days"=>1,
"Charges"=>
{"TypeCode"=>"RHCH",
"Type"=>"Rush Service Charge",
"Description"=>"1 business days",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>80.0,
"Cost"=>64.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true}},
{"Name"=>"3 business days",
"Description"=>"3 working days",
"Days"=>3,
"Charges"=>
{"TypeCode"=>"RHCH",
"Type"=>"Rush Service Charge",
"Description"=>"3 business days",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>50.0,
"Cost"=>40.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true}}],
"Attributes"=>
{"Colors"=>
{"Values"=>
[{"Code"=>"MEBL", "Name"=>"Blue", "$index"=>3},
{"Code"=>"BLCK", "Name"=>"Black"},
{"Code"=>"MEGN", "Name"=>"Green"},
{"Code"=>"MEPL", "Name"=>"PURPLE"},
{"Code"=>"MERD", "Name"=>"Red"},
{"Code"=>"WHTE", "Name"=>"White"},
{"Code"=>"MEYE", "Name"=>"Yellow"}]},
"Sizes"=>
{"Values"=>[{"Code"=>"NJZM", "Name"=>"3 1/4 \" x 3 1/8 \"", "$index"=>3}]},
"Materials"=>
{"Values"=>
[{"Code"=>"$039", "Name"=>"ABS", "$index"=>3},
{"Code"=>"$02S", "Name"=>"Metal"}]}},
"Imprinting"=>
{"Colors"=>
{"Values"=>
[{"Code"=>"$2HM", "Name"=>"Black", "$index"=>3},
{"Code"=>"$2HM", "Name"=>"Navy Blue"},
{"Code"=>"$2HM", "Name"=>"Reflex Blue"},
{"Code"=>"$2HM", "Name"=>"Gold"},
{"Code"=>"$2HM", "Name"=>"Green"},
{"Code"=>"$2HM", "Name"=>"Orange"},
{"Code"=>"$2HM", "Name"=>"Pink"},
{"Code"=>"$2HM", "Name"=>"Purple"},
{"Code"=>"$2HM", "Name"=>"Red"},
{"Code"=>"$2HM", "Name"=>"silver"},
{"Code"=>"$2HM", "Name"=>"White"},
{"Code"=>"$2HM", "Name"=>"yellow"}]},
"Methods"=>
{"Values"=>
[{"Code"=>"$0TV",
"Name"=>"Pad Print",
"Charges"=>
[{"TypeCode"=>"PLCH",
"Type"=>"Plate Charge",
"Description"=>"Pad Print",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>40.0,
"Cost"=>32.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true},
{"TypeCode"=>"PMCH",
"Type"=>"PMS Matching Charge",
"Description"=>"Pad Print",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>30.0,
"Cost"=>24.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"PriceIncludes"=>"per color",
"IsRequired"=>false}],
"$index"=>3},
{"Code"=>"$0TQ",
"Name"=>"Full Color Process",
"Charges"=>
[{"TypeCode"=>"STCH",
"Type"=>"Set-up Charge",
"Description"=>"Full Color Process",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>80.0,
"Cost"=>64.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"UsageLevelCode"=>"PORD",
"UsageLevel"=>"Per Order",
"IsRequired"=>true},
{"TypeCode"=>"RNCH",
"Type"=>"Run Charge",
"Description"=>"Full Color Process",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>1.35,
"Cost"=>1.08,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"UsageLevelCode"=>"PQTY",
"UsageLevel"=>"Per Quantity",
"IsRequired"=>true},
{"TypeCode"=>"PMCH",
"Type"=>"PMS Matching Charge",
"Description"=>"Full Color Process",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>30.0,
"Cost"=>24.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"PriceIncludes"=>"per color",
"IsRequired"=>false}]}]},
"Sizes"=>{"Values"=>[{"Code"=>"$2HQ", "Name"=>"2\" X 1\"", "$index"=>3}]},
"Options"=>
[{"Name"=>"Additional Colors",
"Groups"=>
[{"Name"=>"Additional color",
"Charges"=>
[{"TypeCode"=>"RNCH",
"Type"=>"Run Charge",
"Description"=>"Additional color",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>0.2,
"Cost"=>0.16,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true}]},
{"Name"=>"Additional location",
"Charges"=>
[{"TypeCode"=>"RNCH",
"Type"=>"Run Charge",
"Description"=>"Additional location",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>0.2,
"Cost"=>0.16,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true}]}]},
{"Name"=>"Plate Re-order",
"Groups"=>
[{"Name"=>"Re-order Plate Setup",
"Charges"=>
[{"TypeCode"=>"STCH",
"Type"=>"Set-up Charge",
"Description"=>"Re-order Plate Setup",
"Prices"=>
[{"Quantity"=>{"From"=>1, "To"=>2147483647, "$index"=>1},
"Price"=>20.0,
"Cost"=>16.0,
"DiscountCode"=>"V",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"IsRequired"=>true}]}]}],
"FullColorProcess"=>true,
"Personalization"=>false,
"SoldUnimprinted"=>false},
"Packaging"=>[{"Type"=>"Packaging", "Values"=>["Packaging - opp"]}],
"VariantId"=>0,
"Prices"=>
[{"Quantity"=>{"From"=>100, "To"=>249, "$index"=>1},
"Price"=>0.73,
"Cost"=>0.438,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
{"Quantity"=>{"From"=>250, "To"=>499, "$index"=>1},
"Price"=>0.63,
"Cost"=>0.378,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
{"Quantity"=>{"From"=>500, "To"=>999, "$index"=>1},
"Price"=>0.59,
"Cost"=>0.354,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
{"Quantity"=>{"From"=>1000, "To"=>2499, "$index"=>1},
"Price"=>0.57,
"Cost"=>0.342,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
{"Quantity"=>{"From"=>2500, "To"=>4999, "$index"=>1},
"Price"=>0.55,
"Cost"=>0.33,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
{"Quantity"=>{"From"=>5000, "To"=>2147483647, "$index"=>1},
"Price"=>0.5,
"Cost"=>0.3,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false}],
"PriceIncludes"=>"1 color/location",
"LowestPrice"=>
{"Quantity"=>{"From"=>5000, "To"=>2147483647, "$index"=>1},
"Price"=>0.5,
"Cost"=>0.3,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
"HighestPrice"=>
{"Quantity"=>{"From"=>100, "To"=>249, "$index"=>1},
"Price"=>0.73,
"Cost"=>0.438,
"DiscountCode"=>"R",
"CurrencyCode"=>"USD",
"IsQUR"=>false},
"IsNew"=>false,
"IsConfirmed"=>true,
"HasFullColorProcess"=>true,
"HasRushService"=>true,
"ConfigurationId"=>"",
"UpdateDate"=>"2016-12-20T11:17:57.000-05:00",
"IsAssembled"=>false,
"HasInventory"=>true,
"Services"=>[{"Id"=>550005789, "Name"=>"Inventory API", "Code"=>"IAPI"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment