Store API
The Store API provides methods for managing and creating stores owned by a given user.
In this topic:
Fields
- user_id (string)
A unique id that represents a user account at Weebly. - site_id (string)
Site id unique to the user - currency (string) read-only
The store's currency - weight_unit (string) read-only
The store's weight units. Value can be either "lb" or "kg". - company_name (string)
The store's company name. - street (string)
The store's street address - street2 (string)
Secondary street address - city (string)
The store's city - postal_code (string)
The store's postal code - state (string)
The store's state or region - country (string)
The store's country. Note that the PATCH call accepts any text as a string, but the GET call returns the country's ISO 3166 Alpha 2 code (for example, US). - email (string)
A support email for the store (may be different than user account owner emails) - phone (string)
A support phone number for the store
GET /user/USER_ID/site/SITE_ID/store
Returns all fields for the site's store.
Example CURL Request
Example Response
PATCH /user/USER_ID/site/SITE_ID/store
Can update the following fields:
- company_name
- street
- street2
- city
- state
- postal_code
- phone
Examplnbe CURL Request
Example Response