Partner reviews

List the partner organizations that worked on the store and write, edit or delete the store owner's review of each.

Partner organizations build stores and hand them over, or work on them as collaborators. The store owner reviews them: 1 to 5 stars and text, one review per partner organization per store. A partner can be reviewed once it handed the store over, or after holding collaborator access for 7 days; past partners stay reviewable. The partner needs a Partner Directory listing, and the owner can't review an organization they belong to.

A review appears on the partner's public listing at once and counts toward its average rating, signed with the store's name when show_store_name is true, otherwise "Verified client". The partner can reply once in public (reply) and can report a review to Tringify; Tringify can hide a review (status hidden, with hidden_reason), which takes it off the listing and its rating.

Only the store owner reviews partners. Reads use read_reviews and changes write_reviews, and the request must come from a Store Admin API token the owner created or an AI tool the owner connected; app tokens and other staff are refused with PARTNER_REVIEW_OWNER_ONLY. A store can make 20 review changes an hour.

Endpoints#

List partners to review

GET read_reviews

List the partner organizations that worked on the store, with the store's review of each.

Returns every partner organization that handed the store over or has or had collaborator access, current and past, with relationship (handoff or collaborator), current, can_review and, when it is false, reason: too_soon (collaborator access held for less than 7 days; reviewable_from says when), no_listing (the partner has no Partner Directory listing) or own_organization (the owner belongs to it). review is the store's review of the partner, or null: version counts its versions, edited_at is null until a real edit, can_edit is false (with edit_blocked_reason) once Tringify hid it, and a reply with earlier_version true answered a version before the current one. The *_display fields are dates written in the store's time zone and the request language. limits holds the rating range and the text length. Only the store owner can review partners: the request must come from a Store Admin API token the owner created or a tool the owner connected; an app token is refused with PARTNER_REVIEW_OWNER_ONLY.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 403 PARTNER_REVIEW_OWNER_ONLY

    The request does not come from the store owner.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying. Too many review changes for this store in the last hour.

Review a partner

POST write_reviews

Review a partner organization.

Writes the store's review of a partner listed with can_review true: 1 to 5 stars and 10 to 2000 characters of text. The review appears on the partner's Partner Directory listing at once, signed with the store's name when show_store_name is true, otherwise "Verified client". The partner is told about it and can answer once in public. A store reviews each partner once; edit the review to change it. Only the store owner can review partners: the request must come from a Store Admin API token the owner created or a tool the owner connected; an app token is refused with PARTNER_REVIEW_OWNER_ONLY.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
organization_id required uuid

The partner organization, from List partners to review.

Example: 4b8f2c6e-9d1a-4e37-b5f0-2a6c8d9e1f73
rating required integer

Stars, 1 to 5.

Example: 5
body required string

The review, 10 to 2000 characters of plain text.

Example: They moved our catalogue over in a week and trained the team on fulfilment.
show_store_name boolean

Sign the review with the store's name. Default false: it is signed "Verified client".

Example: false

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 403 PARTNER_REVIEW_OWNER_ONLY

    The request does not come from the store owner.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object or has an unknown field.

  • 400 PARTNER_REVIEW_RATING_INVALID

    rating is not a whole number from 1 to 5.

  • 400 PARTNER_REVIEW_BODY_LENGTH

    body is shorter than 10 or longer than 2000 characters.

  • 403 PARTNER_REVIEW_NOT_ELIGIBLE

    The partner did not hand the store over and has not held collaborator access for 7 days.

  • 403 PARTNER_REVIEW_OWN_ORGANIZATION

    The owner belongs to the partner organization.

  • 409 PARTNER_REVIEW_NO_LISTING

    The partner has no Partner Directory listing.

  • 409 PARTNER_REVIEW_EXISTS

    The store already reviewed this partner; details.review_id names the review.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying. Too many review changes for this store in the last hour.

Edit a partner review

PUT write_reviews

Change the store's review of a partner.

Replaces the rating, text and show_store_name, at once and in public. Every real edit is kept as the review's next version: version goes up, edited_at is set, the public listing shows the review as edited and the partner is told. A request that changes none of the three returns the review as it is and records nothing. The listing's rating follows at once. A review Tringify hid can't be edited; it can still be deleted. Only the store owner can review partners: the request must come from a Store Admin API token the owner created or a tool the owner connected; an app token is refused with PARTNER_REVIEW_OWNER_ONLY.

Path parameters

Name Type Description
id required uuid

Review id.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
rating required integer

Stars, 1 to 5.

Example: 5
body required string

The review, 10 to 2000 characters of plain text.

Example: They moved our catalogue over in a week and trained the team on fulfilment.
show_store_name boolean

Sign the review with the store's name. Default false: it is signed "Verified client".

Example: false

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 403 PARTNER_REVIEW_OWNER_ONLY

    The request does not come from the store owner.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object or has an unknown field.

  • 400 PARTNER_REVIEW_RATING_INVALID

    rating is not a whole number from 1 to 5.

  • 400 PARTNER_REVIEW_BODY_LENGTH

    body is shorter than 10 or longer than 2000 characters.

  • 404 PARTNER_DIR_REVIEW_NOT_FOUND

    The store has no review with this id.

  • 409 PARTNER_REVIEW_HIDDEN_LOCKED

    Tringify hid the review, so it can't be edited (can_edit is false).

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying. Too many review changes for this store in the last hour.

Delete a partner review

DELETE write_reviews

Delete the store's review of a partner.

Removes the review and the partner's reply from the Partner Directory; the listing's rating follows at once. The store can review the partner again afterwards. Only the store owner can review partners: the request must come from a Store Admin API token the owner created or a tool the owner connected; an app token is refused with PARTNER_REVIEW_OWNER_ONLY.

Path parameters

Name Type Description
id required uuid

Review id.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 403 PARTNER_REVIEW_OWNER_ONLY

    The request does not come from the store owner.

  • 404 PARTNER_DIR_REVIEW_NOT_FOUND

    The store has no review with this id.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The request body has a property; this endpoint takes no body. Send no body or an empty object {}.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying. Too many review changes for this store in the last hour.