commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Recurring-order → Check if RecurringOrder exists by ID

AI-generated

Summary

Check the existence of a Recurring-order in commercetools by its ID using an HTTP HEAD request.

Inputs

  • Recurring-order ID (required) — The unique identifier of the Recurring-order to check for existence.

Output shape

A JSON object indicating whether the Recurring-order exists, including properties exists (boolean), statusCode (HTTP status code), and url (the request URL).

Returns { exists: true, statusCode: 200, url } if the Recurring-order exists, or { exists: false, statusCode: 404, url } if it does not. Throws an error for other HTTP issues.

Examples

Example 1: Checking if a Recurring-order with ID 'abc123' exists

Set 'Recurring-order ID' parameter to 'abc123' and use this operation to receive a boolean existence result.

Links

Discussion