Shopify locations webhook events

Shopify sends 5 locations events, including locations/activate, locations/create and locations/deactivate.

Every event here can also reach agents as an MCP event through Hookdeck: MCP events →

locations/activate

documented from Shopify docs (example)

Deactivated location is reactivated

Identified by x-shopify-topic header Resource locations

shopify-locations-activate.json
{
  "id": 866550311766439000,
  "name": "Example Shop",
  "address1": "34 Example Street",
  "address2": "Next to example",
  "city": "ottawa",
  "zip": "k1n5t5",
  "province": "ontario",
  "country": "CA",
  "phone": "555-555-5555",
  "created_at": "2023-02-20T20:47:44-05:00"
}

Key fields

Field Type Example
id integer 866550311766439000
created_at string 2023-02-20T20:47:44-05:00

Full schema: 17 fields.

From Shopify docs

  • Content type application/json

Send example to Inspect → View as JSON

locations/create

documented from Shopify docs (example)

New location created

Identified by x-shopify-topic header Resource locations

shopify-locations-create.json
{
  "id": 866550311766439000,
  "name": "Example Shop",
  "address1": "34 Example Street",
  "address2": "Next to example",
  "city": "ottawa",
  "zip": "k1n5t5",
  "province": "ontario",
  "country": "CA",
  "phone": "555-555-5555",
  "created_at": "2023-02-20T20:47:49-05:00"
}

Key fields

Field Type Example
id integer 866550311766439000
created_at string 2023-02-20T20:47:49-05:00

Full schema: 17 fields.

From Shopify docs

  • Content type application/json

Send example to Inspect → View as JSON

locations/deactivate

documented from Shopify docs (example)

Location is deactivated

Identified by x-shopify-topic header Resource locations

shopify-locations-deactivate.json
{
  "id": 866550311766439000,
  "name": "Example Shop",
  "address1": "34 Example Street",
  "address2": "Next to example",
  "city": "ottawa",
  "zip": "k1n5t5",
  "province": "ontario",
  "country": "CA",
  "phone": "555-555-5555",
  "created_at": "2023-02-20T20:47:47-05:00"
}

Key fields

Field Type Example
id integer 866550311766439000
created_at string 2023-02-20T20:47:47-05:00

Full schema: 17 fields.

From Shopify docs

  • Content type application/json

Send example to Inspect → View as JSON

locations/delete

documented from Shopify docs (example)

Location is deleted

Identified by x-shopify-topic header Resource locations

shopify-locations-delete.json
{
  "id": 866550311766439000
}

Key fields

Field Type Example
id integer 866550311766439000

Full schema: 1 fields.

From Shopify docs

  • Content type application/json

Send example to Inspect → View as JSON

locations/update

documented from Shopify docs (example)

Location details change

Identified by x-shopify-topic header Resource locations

shopify-locations-update.json
{
  "id": 866550311766439000,
  "name": "Example Shop",
  "address1": "34 Example Street",
  "address2": "Next to example",
  "city": "ottawa",
  "zip": "k1n5t5",
  "province": "ontario",
  "country": "CA",
  "phone": "555-555-5555",
  "created_at": "2023-02-20T20:47:53-05:00"
}

Key fields

Field Type Example
id integer 866550311766439000
created_at string 2023-02-20T20:47:53-05:00

Full schema: 17 fields.

From Shopify docs

  • Content type application/json

Send example to Inspect → View as JSON

Route Shopify events by type.

Event Gateway receives every Shopify delivery and filters and routes it by event type, so each service gets only the events it handles.

Not affiliated with Shopify. Facts are compiled from public sources and linked inline.