seed.json 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  1. {
  2. "store": {
  3. "currencies": ["eur", "usd"]
  4. },
  5. "users": [
  6. {
  7. "email": "admin@medusa-test.com",
  8. "password": "supersecret"
  9. }
  10. ],
  11. "regions": [
  12. {
  13. "id": "test-region-eu",
  14. "name": "EU",
  15. "currency_code": "eur",
  16. "tax_rate": 0,
  17. "payment_providers": ["manual"],
  18. "fulfillment_providers": ["manual"],
  19. "countries": ["gb", "de", "dk", "se", "fr", "es", "it"]
  20. },
  21. {
  22. "id": "test-region-na",
  23. "name": "NA",
  24. "currency_code": "usd",
  25. "tax_rate": 0,
  26. "payment_providers": ["manual"],
  27. "fulfillment_providers": ["manual"],
  28. "countries": ["us", "ca"]
  29. }
  30. ],
  31. "shipping_options": [
  32. {
  33. "name": "PostFake Standard",
  34. "region_id": "test-region-eu",
  35. "provider_id": "manual",
  36. "data": {
  37. "id": "manual-fulfillment"
  38. },
  39. "price_type": "flat_rate",
  40. "amount": 1000
  41. },
  42. {
  43. "name": "PostFake Express",
  44. "region_id": "test-region-eu",
  45. "provider_id": "manual",
  46. "data": {
  47. "id": "manual-fulfillment"
  48. },
  49. "price_type": "flat_rate",
  50. "amount": 1500
  51. },
  52. {
  53. "name": "PostFake Return",
  54. "region_id": "test-region-eu",
  55. "provider_id": "manual",
  56. "data": {
  57. "id": "manual-fulfillment"
  58. },
  59. "price_type": "flat_rate",
  60. "is_return": true,
  61. "amount": 1000
  62. },
  63. {
  64. "name": "I want to return it myself",
  65. "region_id": "test-region-eu",
  66. "provider_id": "manual",
  67. "data": {
  68. "id": "manual-fulfillment"
  69. },
  70. "price_type": "flat_rate",
  71. "is_return": true,
  72. "amount": 0
  73. },
  74. {
  75. "name": "FakeEx Standard",
  76. "region_id": "test-region-na",
  77. "provider_id": "manual",
  78. "data": {
  79. "id": "manual-fulfillment"
  80. },
  81. "price_type": "flat_rate",
  82. "amount": 800
  83. },
  84. {
  85. "name": "FakeEx Express",
  86. "region_id": "test-region-na",
  87. "provider_id": "manual",
  88. "data": {
  89. "id": "manual-fulfillment"
  90. },
  91. "price_type": "flat_rate",
  92. "amount": 1200
  93. },
  94. {
  95. "name": "FakeEx Return",
  96. "region_id": "test-region-na",
  97. "provider_id": "manual",
  98. "data": {
  99. "id": "manual-fulfillment"
  100. },
  101. "price_type": "flat_rate",
  102. "is_return": true,
  103. "amount": 800
  104. },
  105. {
  106. "name": "I want to return it myself",
  107. "region_id": "test-region-na",
  108. "provider_id": "manual",
  109. "data": {
  110. "id": "manual-fulfillment"
  111. },
  112. "price_type": "flat_rate",
  113. "is_return": true,
  114. "amount": 0
  115. }
  116. ],
  117. "products": [
  118. {
  119. "title": "Medusa T-Shirt",
  120. "categories": [{
  121. "id": "pcat_shirts"
  122. }],
  123. "subtitle": null,
  124. "description": "Reimagine the feeling of a classic T-shirt. With our cotton T-shirts, everyday essentials no longer have to be ordinary.",
  125. "handle": "t-shirt",
  126. "is_giftcard": false,
  127. "weight": 400,
  128. "images": [
  129. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
  130. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-back.png",
  131. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-front.png",
  132. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png"
  133. ],
  134. "options": [
  135. {
  136. "title": "Size",
  137. "values": ["S", "M", "L", "XL"]
  138. },
  139. {
  140. "title": "Color",
  141. "values": ["Black", "White"]
  142. }
  143. ],
  144. "variants": [
  145. {
  146. "title": "S / Black",
  147. "prices": [
  148. {
  149. "currency_code": "eur",
  150. "amount": 1950
  151. },
  152. {
  153. "currency_code": "usd",
  154. "amount": 2200
  155. }
  156. ],
  157. "options": [
  158. {
  159. "value": "S"
  160. },
  161. {
  162. "value": "Black"
  163. }
  164. ],
  165. "inventory_quantity": 100,
  166. "manage_inventory": true
  167. },
  168. {
  169. "title": "S / White",
  170. "prices": [
  171. {
  172. "currency_code": "eur",
  173. "amount": 1950
  174. },
  175. {
  176. "currency_code": "usd",
  177. "amount": 2200
  178. }
  179. ],
  180. "options": [
  181. {
  182. "value": "S"
  183. },
  184. {
  185. "value": "White"
  186. }
  187. ],
  188. "inventory_quantity": 100,
  189. "manage_inventory": true
  190. },
  191. {
  192. "title": "M / Black",
  193. "prices": [
  194. {
  195. "currency_code": "eur",
  196. "amount": 1950
  197. },
  198. {
  199. "currency_code": "usd",
  200. "amount": 2200
  201. }
  202. ],
  203. "options": [
  204. {
  205. "value": "M"
  206. },
  207. {
  208. "value": "Black"
  209. }
  210. ],
  211. "inventory_quantity": 100,
  212. "manage_inventory": true
  213. },
  214. {
  215. "title": "M / White",
  216. "prices": [
  217. {
  218. "currency_code": "eur",
  219. "amount": 1950
  220. },
  221. {
  222. "currency_code": "usd",
  223. "amount": 2200
  224. }
  225. ],
  226. "options": [
  227. {
  228. "value": "M"
  229. },
  230. {
  231. "value": "White"
  232. }
  233. ],
  234. "inventory_quantity": 100,
  235. "manage_inventory": true
  236. },
  237. {
  238. "title": "L / Black",
  239. "prices": [
  240. {
  241. "currency_code": "eur",
  242. "amount": 1950
  243. },
  244. {
  245. "currency_code": "usd",
  246. "amount": 2200
  247. }
  248. ],
  249. "options": [
  250. {
  251. "value": "L"
  252. },
  253. {
  254. "value": "Black"
  255. }
  256. ],
  257. "inventory_quantity": 100,
  258. "manage_inventory": true
  259. },
  260. {
  261. "title": "L / White",
  262. "prices": [
  263. {
  264. "currency_code": "eur",
  265. "amount": 1950
  266. },
  267. {
  268. "currency_code": "usd",
  269. "amount": 2200
  270. }
  271. ],
  272. "options": [
  273. {
  274. "value": "L"
  275. },
  276. {
  277. "value": "White"
  278. }
  279. ],
  280. "inventory_quantity": 100,
  281. "manage_inventory": true
  282. },
  283. {
  284. "title": "XL / Black",
  285. "prices": [
  286. {
  287. "currency_code": "eur",
  288. "amount": 1950
  289. },
  290. {
  291. "currency_code": "usd",
  292. "amount": 2200
  293. }
  294. ],
  295. "options": [
  296. {
  297. "value": "XL"
  298. },
  299. {
  300. "value": "Black"
  301. }
  302. ],
  303. "inventory_quantity": 100,
  304. "manage_inventory": true
  305. },
  306. {
  307. "title": "XL / White",
  308. "prices": [
  309. {
  310. "currency_code": "eur",
  311. "amount": 1950
  312. },
  313. {
  314. "currency_code": "usd",
  315. "amount": 2200
  316. }
  317. ],
  318. "options": [
  319. {
  320. "value": "XL"
  321. },
  322. {
  323. "value": "White"
  324. }
  325. ],
  326. "inventory_quantity": 100,
  327. "manage_inventory": true
  328. }
  329. ]
  330. },
  331. {
  332. "title": "Medusa Sweatshirt",
  333. "categories": [{
  334. "id": "pcat_shirts"
  335. }],
  336. "subtitle": null,
  337. "description": "Reimagine the feeling of a classic sweatshirt. With our cotton sweatshirt, everyday essentials no longer have to be ordinary.",
  338. "handle": "sweatshirt",
  339. "is_giftcard": false,
  340. "weight": 400,
  341. "images": [
  342. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatshirt-vintage-front.png",
  343. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatshirt-vintage-back.png"
  344. ],
  345. "options": [
  346. {
  347. "title": "Size",
  348. "values": ["S", "M", "L", "XL"]
  349. }
  350. ],
  351. "variants": [
  352. {
  353. "title": "S",
  354. "prices": [
  355. {
  356. "currency_code": "eur",
  357. "amount": 2950
  358. },
  359. {
  360. "currency_code": "usd",
  361. "amount": 3350
  362. }
  363. ],
  364. "options": [
  365. {
  366. "value": "S"
  367. }
  368. ],
  369. "inventory_quantity": 100,
  370. "manage_inventory": true
  371. },
  372. {
  373. "title": "M",
  374. "prices": [
  375. {
  376. "currency_code": "eur",
  377. "amount": 2950
  378. },
  379. {
  380. "currency_code": "usd",
  381. "amount": 3350
  382. }
  383. ],
  384. "options": [
  385. {
  386. "value": "M"
  387. }
  388. ],
  389. "inventory_quantity": 100,
  390. "manage_inventory": true
  391. },
  392. {
  393. "title": "L",
  394. "prices": [
  395. {
  396. "currency_code": "eur",
  397. "amount": 2950
  398. },
  399. {
  400. "currency_code": "usd",
  401. "amount": 3350
  402. }
  403. ],
  404. "options": [
  405. {
  406. "value": "L"
  407. }
  408. ],
  409. "inventory_quantity": 100,
  410. "manage_inventory": true
  411. },
  412. {
  413. "title": "XL",
  414. "prices": [
  415. {
  416. "currency_code": "eur",
  417. "amount": 2950
  418. },
  419. {
  420. "currency_code": "usd",
  421. "amount": 3350
  422. }
  423. ],
  424. "options": [
  425. {
  426. "value": "XL"
  427. }
  428. ],
  429. "inventory_quantity": 100,
  430. "manage_inventory": true
  431. }
  432. ]
  433. },
  434. {
  435. "title": "Medusa Sweatpants",
  436. "categories": [{
  437. "id": "pcat_pants"
  438. }],
  439. "subtitle": null,
  440. "description": "Reimagine the feeling of classic sweatpants. With our cotton sweatpants, everyday essentials no longer have to be ordinary.",
  441. "handle": "sweatpants",
  442. "is_giftcard": false,
  443. "weight": 400,
  444. "images": [
  445. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatpants-gray-front.png",
  446. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatpants-gray-back.png"
  447. ],
  448. "options": [
  449. {
  450. "title": "Size",
  451. "values": ["S", "M", "L", "XL"]
  452. }
  453. ],
  454. "variants": [
  455. {
  456. "title": "S",
  457. "prices": [
  458. {
  459. "currency_code": "eur",
  460. "amount": 2950
  461. },
  462. {
  463. "currency_code": "usd",
  464. "amount": 3350
  465. }
  466. ],
  467. "options": [
  468. {
  469. "value": "S"
  470. }
  471. ],
  472. "inventory_quantity": 100,
  473. "manage_inventory": true
  474. },
  475. {
  476. "title": "M",
  477. "prices": [
  478. {
  479. "currency_code": "eur",
  480. "amount": 2950
  481. },
  482. {
  483. "currency_code": "usd",
  484. "amount": 3350
  485. }
  486. ],
  487. "options": [
  488. {
  489. "value": "M"
  490. }
  491. ],
  492. "inventory_quantity": 100,
  493. "manage_inventory": true
  494. },
  495. {
  496. "title": "L",
  497. "prices": [
  498. {
  499. "currency_code": "eur",
  500. "amount": 2950
  501. },
  502. {
  503. "currency_code": "usd",
  504. "amount": 3350
  505. }
  506. ],
  507. "options": [
  508. {
  509. "value": "L"
  510. }
  511. ],
  512. "inventory_quantity": 100,
  513. "manage_inventory": true
  514. },
  515. {
  516. "title": "XL",
  517. "prices": [
  518. {
  519. "currency_code": "eur",
  520. "amount": 2950
  521. },
  522. {
  523. "currency_code": "usd",
  524. "amount": 3350
  525. }
  526. ],
  527. "options": [
  528. {
  529. "value": "XL"
  530. }
  531. ],
  532. "inventory_quantity": 100,
  533. "manage_inventory": true
  534. }
  535. ]
  536. },
  537. {
  538. "title": "Medusa Shorts",
  539. "categories": [{
  540. "id": "pcat_merch"
  541. }],
  542. "subtitle": null,
  543. "description": "Reimagine the feeling of classic shorts. With our cotton shorts, everyday essentials no longer have to be ordinary.",
  544. "handle": "shorts",
  545. "is_giftcard": false,
  546. "weight": 400,
  547. "images": [
  548. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png",
  549. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-back.png"
  550. ],
  551. "options": [
  552. {
  553. "title": "Size",
  554. "values": ["S", "M", "L", "XL"]
  555. }
  556. ],
  557. "variants": [
  558. {
  559. "title": "S",
  560. "prices": [
  561. {
  562. "currency_code": "eur",
  563. "amount": 2500
  564. },
  565. {
  566. "currency_code": "usd",
  567. "amount": 2850
  568. }
  569. ],
  570. "options": [
  571. {
  572. "value": "S"
  573. }
  574. ],
  575. "inventory_quantity": 100,
  576. "manage_inventory": true
  577. },
  578. {
  579. "title": "M",
  580. "prices": [
  581. {
  582. "currency_code": "eur",
  583. "amount": 2500
  584. },
  585. {
  586. "currency_code": "usd",
  587. "amount": 2850
  588. }
  589. ],
  590. "options": [
  591. {
  592. "value": "M"
  593. }
  594. ],
  595. "inventory_quantity": 100,
  596. "manage_inventory": true
  597. },
  598. {
  599. "title": "L",
  600. "prices": [
  601. {
  602. "currency_code": "eur",
  603. "amount": 2500
  604. },
  605. {
  606. "currency_code": "usd",
  607. "amount": 2850
  608. }
  609. ],
  610. "options": [
  611. {
  612. "value": "L"
  613. }
  614. ],
  615. "inventory_quantity": 100,
  616. "manage_inventory": true
  617. },
  618. {
  619. "title": "XL",
  620. "prices": [
  621. {
  622. "currency_code": "eur",
  623. "amount": 2500
  624. },
  625. {
  626. "currency_code": "usd",
  627. "amount": 2850
  628. }
  629. ],
  630. "options": [
  631. {
  632. "value": "XL"
  633. }
  634. ],
  635. "inventory_quantity": 100,
  636. "manage_inventory": true
  637. }
  638. ]
  639. },
  640. {
  641. "title": "Medusa Hoodie",
  642. "categories": [{
  643. "id": "pcat_merch"
  644. }],
  645. "subtitle": null,
  646. "description": "Reimagine the feeling of a classic hoodie. With our cotton hoodie, everyday essentials no longer have to be ordinary.",
  647. "handle": "hoodie",
  648. "is_giftcard": false,
  649. "weight": 400,
  650. "images": [
  651. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png",
  652. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_back.png"
  653. ],
  654. "options": [
  655. {
  656. "title": "Size",
  657. "values": ["S", "M", "L", "XL"]
  658. }
  659. ],
  660. "variants": [
  661. {
  662. "title": "S",
  663. "prices": [
  664. {
  665. "currency_code": "eur",
  666. "amount": 3650
  667. },
  668. {
  669. "currency_code": "usd",
  670. "amount": 4150
  671. }
  672. ],
  673. "options": [
  674. {
  675. "value": "S"
  676. }
  677. ],
  678. "inventory_quantity": 100,
  679. "manage_inventory": true
  680. },
  681. {
  682. "title": "M",
  683. "prices": [
  684. {
  685. "currency_code": "eur",
  686. "amount": 3650
  687. },
  688. {
  689. "currency_code": "usd",
  690. "amount": 4150
  691. }
  692. ],
  693. "options": [
  694. {
  695. "value": "M"
  696. }
  697. ],
  698. "inventory_quantity": 100,
  699. "manage_inventory": true
  700. },
  701. {
  702. "title": "L",
  703. "prices": [
  704. {
  705. "currency_code": "eur",
  706. "amount": 3650
  707. },
  708. {
  709. "currency_code": "usd",
  710. "amount": 4150
  711. }
  712. ],
  713. "options": [
  714. {
  715. "value": "L"
  716. }
  717. ],
  718. "inventory_quantity": 100,
  719. "manage_inventory": true
  720. },
  721. {
  722. "title": "XL",
  723. "prices": [
  724. {
  725. "currency_code": "eur",
  726. "amount": 3650
  727. },
  728. {
  729. "currency_code": "usd",
  730. "amount": 4150
  731. }
  732. ],
  733. "options": [
  734. {
  735. "value": "XL"
  736. }
  737. ],
  738. "inventory_quantity": 100,
  739. "manage_inventory": true
  740. }
  741. ]
  742. },
  743. {
  744. "title": "Medusa Longsleeve",
  745. "categories": [{
  746. "id": "pcat_shirts"
  747. }],
  748. "subtitle": null,
  749. "description": "Reimagine the feeling of a classic longsleeve. With our cotton longsleeve, everyday essentials no longer have to be ordinary.",
  750. "handle": "longsleeve",
  751. "is_giftcard": false,
  752. "weight": 400,
  753. "images": [
  754. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png",
  755. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-back.png"
  756. ],
  757. "options": [
  758. {
  759. "title": "Size",
  760. "values": ["S", "M", "L", "XL"]
  761. }
  762. ],
  763. "variants": [
  764. {
  765. "title": "S",
  766. "prices": [
  767. {
  768. "currency_code": "eur",
  769. "amount": 3650
  770. },
  771. {
  772. "currency_code": "usd",
  773. "amount": 4150
  774. }
  775. ],
  776. "options": [
  777. {
  778. "value": "S"
  779. }
  780. ],
  781. "inventory_quantity": 100,
  782. "manage_inventory": true
  783. },
  784. {
  785. "title": "M",
  786. "prices": [
  787. {
  788. "currency_code": "eur",
  789. "amount": 3650
  790. },
  791. {
  792. "currency_code": "usd",
  793. "amount": 4150
  794. }
  795. ],
  796. "options": [
  797. {
  798. "value": "M"
  799. }
  800. ],
  801. "inventory_quantity": 100,
  802. "manage_inventory": true
  803. },
  804. {
  805. "title": "L",
  806. "prices": [
  807. {
  808. "currency_code": "eur",
  809. "amount": 3650
  810. },
  811. {
  812. "currency_code": "usd",
  813. "amount": 4150
  814. }
  815. ],
  816. "options": [
  817. {
  818. "value": "L"
  819. }
  820. ],
  821. "inventory_quantity": 100,
  822. "manage_inventory": true
  823. },
  824. {
  825. "title": "XL",
  826. "prices": [
  827. {
  828. "currency_code": "eur",
  829. "amount": 3650
  830. },
  831. {
  832. "currency_code": "usd",
  833. "amount": 4150
  834. }
  835. ],
  836. "options": [
  837. {
  838. "value": "XL"
  839. }
  840. ],
  841. "inventory_quantity": 100,
  842. "manage_inventory": true
  843. }
  844. ]
  845. },
  846. {
  847. "title": "Medusa Coffee Mug",
  848. "categories": [{
  849. "id": "pcat_merch"
  850. }],
  851. "subtitle": null,
  852. "description": "Every programmer's best friend.",
  853. "handle": "coffee-mug",
  854. "is_giftcard": false,
  855. "weight": 400,
  856. "images": [
  857. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/coffee-mug.png"
  858. ],
  859. "options": [
  860. {
  861. "title": "Size",
  862. "values": ["One Size"]
  863. }
  864. ],
  865. "variants": [
  866. {
  867. "title": "One Size",
  868. "prices": [
  869. {
  870. "currency_code": "eur",
  871. "amount": 1000
  872. },
  873. {
  874. "currency_code": "usd",
  875. "amount": 1200
  876. }
  877. ],
  878. "options": [
  879. {
  880. "value": "One Size"
  881. }
  882. ],
  883. "inventory_quantity": 100,
  884. "manage_inventory": true
  885. }
  886. ]
  887. }
  888. ],
  889. "categories":[
  890. {
  891. "id": "pcat_pants",
  892. "name":"Pants",
  893. "rank":0,
  894. "category_children":[],
  895. "handle":"pants"
  896. },
  897. {
  898. "id": "pcat_shirts",
  899. "name":"Shirts",
  900. "rank":0,
  901. "category_children":[],
  902. "handle":"shirts"
  903. },
  904. {
  905. "id": "pcat_merch",
  906. "name":"Merch",
  907. "rank":0,
  908. "category_children":[],
  909. "handle":"merch"
  910. },
  911. {
  912. "id": "pcat_hidden_carousel",
  913. "name":"Hidden homepage carousel",
  914. "rank":0,
  915. "category_children":[],
  916. "handle":"hidden-homepage-carousel"
  917. },
  918. {
  919. "id": "pcat_hidden_featured",
  920. "name":"Hidden homepage featured",
  921. "rank":0,
  922. "category_children":[],
  923. "handle":"hidden-homepage-featured-items"
  924. }
  925. ]
  926. }