- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- V4 API
- V3 API
- Stores
- Categories
- Zones
- Floors
- Tenant Categories
- Store events
- Departments
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Update Store By Store ID
Pending
PUT
https://api.mpc.dev.placewise.com/v3/{loyalty_club_slug}/stores/by_store_id/{store_id}
API Permit:Stores:Api:Stores:Update
API Context:Loyalty Club
Authorizations:UserToken
URL Parameters#
Parameter | Description | Type |
---|---|---|
id | ID | integer |
Body Parameters#
Parameter | Description | Type |
---|---|---|
name* | store name | string |
department_id | department/mall id | string |
categories | categories | array |
zones | zones | array |
floor | foor | string |
location | location | string |
area | area | int |
opening_hours | opening hours | array of day objects |
description | description | string |
phone | contact phone | string |
external_url | website | string |
tenant_categories | tenant categories | array |
Parameter | Description | Type |
---|---|---|
name* | day of the week | string |
hours* | opening hours | string |
*
are requiredFeedback statuses#
Status | Description |
---|---|
ok | Store updated |
Store with this id does not exist. |
Error Responses#
Status | Description |
---|---|
422 | Invalid parameters (see example on the right) |
Example#
{
"id": 12345,
"store_id": "6789",
"status": "ok"
}
{
"error": "Invalid format",
"details": {
"name": "The property {property} is required"
}
}
id
or store_id
is invalid (422), returns:{
"error": "Store not found"
}
Request
Path Params
loyalty_club_slug
stringÂ
required
Example:
infinity-mall
store_id
integerÂ
required
Example:
1
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.mpc.dev.placewise.com/v3/infinity-mall/stores/by_store_id/1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-05-07 15:48:35