Skip to content

Area: Developers

POST

Start a full catalog sync

Path
/products/sync
Auth
Secret key · server only
POST
/products/sync
curl --request POST \
--url https://releva.ai/api/v0/products/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Queues a full sync of the domain’s catalog from its configured product sync URL, using the domain’s sync type (api, fbCsvFeed or fbXmlFeed). The request body is ignored. If a sync for the domain is already queued or running, the call has no further effect. After a successful pass, products that were not part of it are deleted about two minutes later.

Media typeapplication/json

The body is ignored. Send {} or no body.

object

Example generated

{}

Accepted for asynchronous processing.

Media typeapplication/json
object
0

Example

{}

Authorization header missing, malformed, not a UUID, or unknown.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Examples

{
"message": "Authorization header is missing."
}

The domain is disabled.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "Domain is disabled. Please reach out to support@releva.ai to enable it."
}

Unexpected server error.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "An internal error occurred."
}