seed.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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. "subtitle": null,
  121. "description": "Reimagine the feeling of a classic T-shirt. With our cotton T-shirts, everyday essentials no longer have to be ordinary.",
  122. "handle": "t-shirt",
  123. "is_giftcard": false,
  124. "weight": 400,
  125. "images": [
  126. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
  127. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-back.png",
  128. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-front.png",
  129. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png"
  130. ],
  131. "options": [
  132. {
  133. "title": "Size",
  134. "values": ["S", "M", "L", "XL"]
  135. },
  136. {
  137. "title": "Color",
  138. "values": ["Black", "White"]
  139. }
  140. ],
  141. "variants": [
  142. {
  143. "title": "S / Black",
  144. "prices": [
  145. {
  146. "currency_code": "eur",
  147. "amount": 1950
  148. },
  149. {
  150. "currency_code": "usd",
  151. "amount": 2200
  152. }
  153. ],
  154. "options": [
  155. {
  156. "value": "S"
  157. },
  158. {
  159. "value": "Black"
  160. }
  161. ],
  162. "inventory_quantity": 100,
  163. "manage_inventory": true
  164. },
  165. {
  166. "title": "S / White",
  167. "prices": [
  168. {
  169. "currency_code": "eur",
  170. "amount": 1950
  171. },
  172. {
  173. "currency_code": "usd",
  174. "amount": 2200
  175. }
  176. ],
  177. "options": [
  178. {
  179. "value": "S"
  180. },
  181. {
  182. "value": "White"
  183. }
  184. ],
  185. "inventory_quantity": 100,
  186. "manage_inventory": true
  187. },
  188. {
  189. "title": "M / Black",
  190. "prices": [
  191. {
  192. "currency_code": "eur",
  193. "amount": 1950
  194. },
  195. {
  196. "currency_code": "usd",
  197. "amount": 2200
  198. }
  199. ],
  200. "options": [
  201. {
  202. "value": "M"
  203. },
  204. {
  205. "value": "Black"
  206. }
  207. ],
  208. "inventory_quantity": 100,
  209. "manage_inventory": true
  210. },
  211. {
  212. "title": "M / White",
  213. "prices": [
  214. {
  215. "currency_code": "eur",
  216. "amount": 1950
  217. },
  218. {
  219. "currency_code": "usd",
  220. "amount": 2200
  221. }
  222. ],
  223. "options": [
  224. {
  225. "value": "M"
  226. },
  227. {
  228. "value": "White"
  229. }
  230. ],
  231. "inventory_quantity": 100,
  232. "manage_inventory": true
  233. },
  234. {
  235. "title": "L / Black",
  236. "prices": [
  237. {
  238. "currency_code": "eur",
  239. "amount": 1950
  240. },
  241. {
  242. "currency_code": "usd",
  243. "amount": 2200
  244. }
  245. ],
  246. "options": [
  247. {
  248. "value": "L"
  249. },
  250. {
  251. "value": "Black"
  252. }
  253. ],
  254. "inventory_quantity": 100,
  255. "manage_inventory": true
  256. },
  257. {
  258. "title": "L / White",
  259. "prices": [
  260. {
  261. "currency_code": "eur",
  262. "amount": 1950
  263. },
  264. {
  265. "currency_code": "usd",
  266. "amount": 2200
  267. }
  268. ],
  269. "options": [
  270. {
  271. "value": "L"
  272. },
  273. {
  274. "value": "White"
  275. }
  276. ],
  277. "inventory_quantity": 100,
  278. "manage_inventory": true
  279. },
  280. {
  281. "title": "XL / Black",
  282. "prices": [
  283. {
  284. "currency_code": "eur",
  285. "amount": 1950
  286. },
  287. {
  288. "currency_code": "usd",
  289. "amount": 2200
  290. }
  291. ],
  292. "options": [
  293. {
  294. "value": "XL"
  295. },
  296. {
  297. "value": "Black"
  298. }
  299. ],
  300. "inventory_quantity": 100,
  301. "manage_inventory": true
  302. },
  303. {
  304. "title": "XL / White",
  305. "prices": [
  306. {
  307. "currency_code": "eur",
  308. "amount": 1950
  309. },
  310. {
  311. "currency_code": "usd",
  312. "amount": 2200
  313. }
  314. ],
  315. "options": [
  316. {
  317. "value": "XL"
  318. },
  319. {
  320. "value": "White"
  321. }
  322. ],
  323. "inventory_quantity": 100,
  324. "manage_inventory": true
  325. }
  326. ]
  327. },
  328. {
  329. "title": "Medusa Sweatshirt",
  330. "subtitle": null,
  331. "description": "Reimagine the feeling of a classic sweatshirt. With our cotton sweatshirt, everyday essentials no longer have to be ordinary.",
  332. "handle": "sweatshirt",
  333. "is_giftcard": false,
  334. "weight": 400,
  335. "images": [
  336. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatshirt-vintage-front.png",
  337. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatshirt-vintage-back.png"
  338. ],
  339. "options": [
  340. {
  341. "title": "Size",
  342. "values": ["S", "M", "L", "XL"]
  343. }
  344. ],
  345. "variants": [
  346. {
  347. "title": "S",
  348. "prices": [
  349. {
  350. "currency_code": "eur",
  351. "amount": 2950
  352. },
  353. {
  354. "currency_code": "usd",
  355. "amount": 3350
  356. }
  357. ],
  358. "options": [
  359. {
  360. "value": "S"
  361. }
  362. ],
  363. "inventory_quantity": 100,
  364. "manage_inventory": true
  365. },
  366. {
  367. "title": "M",
  368. "prices": [
  369. {
  370. "currency_code": "eur",
  371. "amount": 2950
  372. },
  373. {
  374. "currency_code": "usd",
  375. "amount": 3350
  376. }
  377. ],
  378. "options": [
  379. {
  380. "value": "M"
  381. }
  382. ],
  383. "inventory_quantity": 100,
  384. "manage_inventory": true
  385. },
  386. {
  387. "title": "L",
  388. "prices": [
  389. {
  390. "currency_code": "eur",
  391. "amount": 2950
  392. },
  393. {
  394. "currency_code": "usd",
  395. "amount": 3350
  396. }
  397. ],
  398. "options": [
  399. {
  400. "value": "L"
  401. }
  402. ],
  403. "inventory_quantity": 100,
  404. "manage_inventory": true
  405. },
  406. {
  407. "title": "XL",
  408. "prices": [
  409. {
  410. "currency_code": "eur",
  411. "amount": 2950
  412. },
  413. {
  414. "currency_code": "usd",
  415. "amount": 3350
  416. }
  417. ],
  418. "options": [
  419. {
  420. "value": "XL"
  421. }
  422. ],
  423. "inventory_quantity": 100,
  424. "manage_inventory": true
  425. }
  426. ]
  427. },
  428. {
  429. "title": "Medusa Sweatpants",
  430. "subtitle": null,
  431. "description": "Reimagine the feeling of classic sweatpants. With our cotton sweatpants, everyday essentials no longer have to be ordinary.",
  432. "handle": "sweatpants",
  433. "is_giftcard": false,
  434. "weight": 400,
  435. "images": [
  436. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatpants-gray-front.png",
  437. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/sweatpants-gray-back.png"
  438. ],
  439. "options": [
  440. {
  441. "title": "Size",
  442. "values": ["S", "M", "L", "XL"]
  443. }
  444. ],
  445. "variants": [
  446. {
  447. "title": "S",
  448. "prices": [
  449. {
  450. "currency_code": "eur",
  451. "amount": 2950
  452. },
  453. {
  454. "currency_code": "usd",
  455. "amount": 3350
  456. }
  457. ],
  458. "options": [
  459. {
  460. "value": "S"
  461. }
  462. ],
  463. "inventory_quantity": 100,
  464. "manage_inventory": true
  465. },
  466. {
  467. "title": "M",
  468. "prices": [
  469. {
  470. "currency_code": "eur",
  471. "amount": 2950
  472. },
  473. {
  474. "currency_code": "usd",
  475. "amount": 3350
  476. }
  477. ],
  478. "options": [
  479. {
  480. "value": "M"
  481. }
  482. ],
  483. "inventory_quantity": 100,
  484. "manage_inventory": true
  485. },
  486. {
  487. "title": "L",
  488. "prices": [
  489. {
  490. "currency_code": "eur",
  491. "amount": 2950
  492. },
  493. {
  494. "currency_code": "usd",
  495. "amount": 3350
  496. }
  497. ],
  498. "options": [
  499. {
  500. "value": "L"
  501. }
  502. ],
  503. "inventory_quantity": 100,
  504. "manage_inventory": true
  505. },
  506. {
  507. "title": "XL",
  508. "prices": [
  509. {
  510. "currency_code": "eur",
  511. "amount": 2950
  512. },
  513. {
  514. "currency_code": "usd",
  515. "amount": 3350
  516. }
  517. ],
  518. "options": [
  519. {
  520. "value": "XL"
  521. }
  522. ],
  523. "inventory_quantity": 100,
  524. "manage_inventory": true
  525. }
  526. ]
  527. },
  528. {
  529. "title": "Medusa Shorts",
  530. "subtitle": null,
  531. "description": "Reimagine the feeling of classic shorts. With our cotton shorts, everyday essentials no longer have to be ordinary.",
  532. "handle": "shorts",
  533. "is_giftcard": false,
  534. "weight": 400,
  535. "images": [
  536. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-front.png",
  537. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/shorts-vintage-back.png"
  538. ],
  539. "options": [
  540. {
  541. "title": "Size",
  542. "values": ["S", "M", "L", "XL"]
  543. }
  544. ],
  545. "variants": [
  546. {
  547. "title": "S",
  548. "prices": [
  549. {
  550. "currency_code": "eur",
  551. "amount": 2500
  552. },
  553. {
  554. "currency_code": "usd",
  555. "amount": 2850
  556. }
  557. ],
  558. "options": [
  559. {
  560. "value": "S"
  561. }
  562. ],
  563. "inventory_quantity": 100,
  564. "manage_inventory": true
  565. },
  566. {
  567. "title": "M",
  568. "prices": [
  569. {
  570. "currency_code": "eur",
  571. "amount": 2500
  572. },
  573. {
  574. "currency_code": "usd",
  575. "amount": 2850
  576. }
  577. ],
  578. "options": [
  579. {
  580. "value": "M"
  581. }
  582. ],
  583. "inventory_quantity": 100,
  584. "manage_inventory": true
  585. },
  586. {
  587. "title": "L",
  588. "prices": [
  589. {
  590. "currency_code": "eur",
  591. "amount": 2500
  592. },
  593. {
  594. "currency_code": "usd",
  595. "amount": 2850
  596. }
  597. ],
  598. "options": [
  599. {
  600. "value": "L"
  601. }
  602. ],
  603. "inventory_quantity": 100,
  604. "manage_inventory": true
  605. },
  606. {
  607. "title": "XL",
  608. "prices": [
  609. {
  610. "currency_code": "eur",
  611. "amount": 2500
  612. },
  613. {
  614. "currency_code": "usd",
  615. "amount": 2850
  616. }
  617. ],
  618. "options": [
  619. {
  620. "value": "XL"
  621. }
  622. ],
  623. "inventory_quantity": 100,
  624. "manage_inventory": true
  625. }
  626. ]
  627. },
  628. {
  629. "title": "Medusa Hoodie",
  630. "subtitle": null,
  631. "description": "Reimagine the feeling of a classic hoodie. With our cotton hoodie, everyday essentials no longer have to be ordinary.",
  632. "handle": "hoodie",
  633. "is_giftcard": false,
  634. "weight": 400,
  635. "images": [
  636. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_front.png",
  637. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/black_hoodie_back.png"
  638. ],
  639. "options": [
  640. {
  641. "title": "Size",
  642. "values": ["S", "M", "L", "XL"]
  643. }
  644. ],
  645. "variants": [
  646. {
  647. "title": "S",
  648. "prices": [
  649. {
  650. "currency_code": "eur",
  651. "amount": 3650
  652. },
  653. {
  654. "currency_code": "usd",
  655. "amount": 4150
  656. }
  657. ],
  658. "options": [
  659. {
  660. "value": "S"
  661. }
  662. ],
  663. "inventory_quantity": 100,
  664. "manage_inventory": true
  665. },
  666. {
  667. "title": "M",
  668. "prices": [
  669. {
  670. "currency_code": "eur",
  671. "amount": 3650
  672. },
  673. {
  674. "currency_code": "usd",
  675. "amount": 4150
  676. }
  677. ],
  678. "options": [
  679. {
  680. "value": "M"
  681. }
  682. ],
  683. "inventory_quantity": 100,
  684. "manage_inventory": true
  685. },
  686. {
  687. "title": "L",
  688. "prices": [
  689. {
  690. "currency_code": "eur",
  691. "amount": 3650
  692. },
  693. {
  694. "currency_code": "usd",
  695. "amount": 4150
  696. }
  697. ],
  698. "options": [
  699. {
  700. "value": "L"
  701. }
  702. ],
  703. "inventory_quantity": 100,
  704. "manage_inventory": true
  705. },
  706. {
  707. "title": "XL",
  708. "prices": [
  709. {
  710. "currency_code": "eur",
  711. "amount": 3650
  712. },
  713. {
  714. "currency_code": "usd",
  715. "amount": 4150
  716. }
  717. ],
  718. "options": [
  719. {
  720. "value": "XL"
  721. }
  722. ],
  723. "inventory_quantity": 100,
  724. "manage_inventory": true
  725. }
  726. ]
  727. },
  728. {
  729. "title": "Medusa Longsleeve",
  730. "subtitle": null,
  731. "description": "Reimagine the feeling of a classic longsleeve. With our cotton longsleeve, everyday essentials no longer have to be ordinary.",
  732. "handle": "longsleeve",
  733. "is_giftcard": false,
  734. "weight": 400,
  735. "images": [
  736. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-front.png",
  737. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/ls-black-back.png"
  738. ],
  739. "options": [
  740. {
  741. "title": "Size",
  742. "values": ["S", "M", "L", "XL"]
  743. }
  744. ],
  745. "variants": [
  746. {
  747. "title": "S",
  748. "prices": [
  749. {
  750. "currency_code": "eur",
  751. "amount": 3650
  752. },
  753. {
  754. "currency_code": "usd",
  755. "amount": 4150
  756. }
  757. ],
  758. "options": [
  759. {
  760. "value": "S"
  761. }
  762. ],
  763. "inventory_quantity": 100,
  764. "manage_inventory": true
  765. },
  766. {
  767. "title": "M",
  768. "prices": [
  769. {
  770. "currency_code": "eur",
  771. "amount": 3650
  772. },
  773. {
  774. "currency_code": "usd",
  775. "amount": 4150
  776. }
  777. ],
  778. "options": [
  779. {
  780. "value": "M"
  781. }
  782. ],
  783. "inventory_quantity": 100,
  784. "manage_inventory": true
  785. },
  786. {
  787. "title": "L",
  788. "prices": [
  789. {
  790. "currency_code": "eur",
  791. "amount": 3650
  792. },
  793. {
  794. "currency_code": "usd",
  795. "amount": 4150
  796. }
  797. ],
  798. "options": [
  799. {
  800. "value": "L"
  801. }
  802. ],
  803. "inventory_quantity": 100,
  804. "manage_inventory": true
  805. },
  806. {
  807. "title": "XL",
  808. "prices": [
  809. {
  810. "currency_code": "eur",
  811. "amount": 3650
  812. },
  813. {
  814. "currency_code": "usd",
  815. "amount": 4150
  816. }
  817. ],
  818. "options": [
  819. {
  820. "value": "XL"
  821. }
  822. ],
  823. "inventory_quantity": 100,
  824. "manage_inventory": true
  825. }
  826. ]
  827. },
  828. {
  829. "title": "Medusa Coffee Mug",
  830. "subtitle": null,
  831. "description": "Every programmer's best friend.",
  832. "handle": "coffee-mug",
  833. "is_giftcard": false,
  834. "weight": 400,
  835. "images": [
  836. "https://medusa-public-images.s3.eu-west-1.amazonaws.com/coffee-mug.png"
  837. ],
  838. "options": [
  839. {
  840. "title": "Size",
  841. "values": ["One Size"]
  842. }
  843. ],
  844. "variants": [
  845. {
  846. "title": "One Size",
  847. "prices": [
  848. {
  849. "currency_code": "eur",
  850. "amount": 1000
  851. },
  852. {
  853. "currency_code": "usd",
  854. "amount": 1200
  855. }
  856. ],
  857. "options": [
  858. {
  859. "value": "One Size"
  860. }
  861. ],
  862. "inventory_quantity": 100,
  863. "manage_inventory": true
  864. }
  865. ]
  866. }
  867. ]
  868. }