Create a location using REST API or Graphql

hdamico
Visitor
2 0 1

Hello!
How can I create locations using REST API or Graphql? I saw this post but it didn't solve the problem. It says that the only way to create a new location is with a FulfillmentService but the documentation doesn't say anything related to locations. Could someone provide me with the document that shows how to create a new location?

Reply 1 (1)
guest4
Shopify Partner
59 5 8

Shopify automatically creates a Location for each Fulfillment Service. So if you want to cr eate a Location, then create a Fulfillment Service.