Skip to content

Generate (or rotate) the secret of the «Replifier for WooCommerce» plugin; the previous one stops working and the new one is shown only in this response (captures.write)

POST
/v1/woocommerce/{integration}/plugin-secret
curl --request POST \
--url https://api.replifier.com/v1/woocommerce/wco_01hx0000000000000000000000/plugin-secret
integration
required
string
/^wco_[a-z0-9]{26}$/

Example

wco_01hx0000000000000000000000

New secret

Media typeapplication/json
object
plugin
required
object
cartsUrl
required

Where the plugin reports abandoned carts

string
secret
required

Secret of the «Replifier for WooCommerce» plugin: signs each report with HMAC-SHA256. Shown only once

string

Example generated

{
"plugin": {
"cartsUrl": "example",
"secret": "example"
}
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Service temporarily unavailable

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}