STORE
Endpoints
Search stores
GET /store
Description: Returns all registered stores, with the ability to filter by status, name, external ID, among others.
Responses:
200 OK: Returns a list of stores.422 Unprocessable Entity: Invalid parameters.
Create store
POST /store
Description: Creates a new store.
Responses:
201 Created: Store created successfully.400 Bad Request: Invalid parameters.
Search store by id
GET /store/{id}
Description: Returns a store by id.
Responses:
200 OK: Returns the store.404 Not Found: Store not found.
Edit store
PUT /store/{id}
Description: Edits an existing store.
Responses:
202 Accepted: Store edited successfully.404 Not Found: Store not found.
Deactivate store
DELETE /store/{id}
Description: Deactivates an existing store.
Responses:
200 OK: Store deactivated successfully.404 Not Found: Store not found.