seed.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "store": {
  3. "currencies": ["eur"]
  4. },
  5. "users": [
  6. {
  7. "email": "admin@medusa-test.com",
  8. "password": "supersecret"
  9. }
  10. ],
  11. "regions": [
  12. {
  13. "id": "test-region",
  14. "name": "Default Region",
  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. "shipping_options": [
  23. {
  24. "name": "Standard Shipping",
  25. "region_id": "test-region",
  26. "provider_id": "manual",
  27. "data": {
  28. "id": "manual-fulfillment"
  29. },
  30. "price_type": "flat_rate",
  31. "amount": 1000
  32. }
  33. ],
  34. "products": [
  35. {
  36. "title": "Basic T-Shirt",
  37. "subtitle": null,
  38. "description": "Reimagine the feeling of a classic T-shirt. With our men's Basic cotton T-shirts, everyday essentials no longer have to be ordinary.",
  39. "handle": "basic-shirt",
  40. "is_giftcard": false,
  41. "images": [],
  42. "thumbnail": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tshirt.png",
  43. "options": [
  44. {
  45. "title": "Size"
  46. }
  47. ],
  48. "variants": [
  49. {
  50. "title": "S",
  51. "prices": [
  52. {
  53. "currency_code": "eur",
  54. "amount": 1950
  55. }
  56. ],
  57. "options": [
  58. {
  59. "value": "S"
  60. }
  61. ],
  62. "inventory_quantity": 100,
  63. "manage_inventory": true
  64. },
  65. {
  66. "title": "M",
  67. "prices": [
  68. {
  69. "currency_code": "eur",
  70. "amount": 1950
  71. }
  72. ],
  73. "options": [
  74. {
  75. "value": "M"
  76. }
  77. ],
  78. "inventory_quantity": 100,
  79. "manage_inventory": true
  80. },
  81. {
  82. "title": "L",
  83. "prices": [
  84. {
  85. "currency_code": "eur",
  86. "amount": 1950
  87. }
  88. ],
  89. "options": [
  90. {
  91. "value": "L"
  92. }
  93. ],
  94. "inventory_quantity": 100,
  95. "manage_inventory": true
  96. },
  97. {
  98. "title": "XL",
  99. "prices": [
  100. {
  101. "currency_code": "eur",
  102. "amount": 1950
  103. }
  104. ],
  105. "options": [
  106. {
  107. "value": "XL"
  108. }
  109. ],
  110. "inventory_quantity": 100,
  111. "manage_inventory": true
  112. }
  113. ]
  114. }
  115. ]
  116. }