Product SyncGet product synchronization status

Get product synchronization status

Returns the current product synchronization status for a shop.

curl -X GET "http://localhost:8080/api/sync-products/status?shop_id=123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "status": "pending",
  "last_sync_at": "2024-12-25T10:00:00Z"
}
GET
/api/sync-products/status
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT access token, or refresh token for the token refresh endpoint.

JWT access token, or refresh token for the token refresh endpoint.
query
shop_idinteger
Required

Shop identifier.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT access token, or refresh token for the token refresh endpoint.

Query Parameters

shop_idinteger
Required

Shop identifier.

Responses

statusstring
Required

Current synchronization status.

Allowed values:pendingrunningcompletedfailed
last_sync_atstring
Required

Timestamp of the most recent completed synchronization.