diff --git a/lib/commercetools-api/docs/RequestBuilder.md b/lib/commercetools-api/docs/RequestBuilder.md index c13ece965fc..01b7365aeb4 100644 --- a/lib/commercetools-api/docs/RequestBuilder.md +++ b/lib/commercetools-api/docs/RequestBuilder.md @@ -23,7 +23,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->head()` -Checks if a Project exists for a given `projectKey`. Returns a `200 OK` status if the Project exists or a `404 Not Found` otherwise. +Checks if a Project exists for a given `projectKey`. Returns a `200` status if the Project exists, or a `404` status otherwise. ### Example ```php @@ -63,7 +63,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->apiClients()->head()` -Checks if an API Client exists for the provided query predicate. Returns a `200 OK` status if any API Clients match the query predicate, or a `404 Not Found` otherwise. +Checks if an API Client exists for the provided query predicate. Returns a `200` status if any API Clients match the query predicate, or a `404` status otherwise. ### Example ```php @@ -106,7 +106,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->apiClients()->withId("ID")->head()` -Checks if an API Client exists with the provided `id`. Returns a `200 OK` status if the API Client exists or a `404 Not Found` otherwise. +Checks if an API Client exists with the provided `id`. Returns a `200` status if the API Client exists, or a `404` status otherwise. ### Example ```php @@ -152,7 +152,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->businessUnits()->head()` -Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200 OK` status if any BusinessUnits match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200` status if any BusinessUnits match the query predicate, or a `404` status otherwise. ### Example ```php @@ -201,7 +201,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->businessUnits()->withId("ID")->head()` -Checks if a BusinessUnit exists with the provided `id`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `id`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -252,7 +252,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->businessUnits()->withKey("key")->head()` -Checks if a BusinessUnit exists with the provided `key`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `key`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -462,7 +462,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->carts()->head()` -Checks if one or more Carts exist for the provided query predicate. Returns a `200 OK` status if any Carts match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Carts exist for the provided query predicate. Returns a `200` status if any Carts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -524,7 +524,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->carts()->withId("ID")->head()` -Checks if a Cart exists with the provided `id`. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists with the provided `id`. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -598,7 +598,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->carts()->withKey("key")->head()` -Checks if a Cart exists with the provided `key`. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists with the provided `key`. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -700,7 +700,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->orders()->head()` -Checks if one or more Orders exist with provided query predicate in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` status if any Orders match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Orders exist with provided query predicate in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if any Orders match the query predicate, or a `404` status otherwise. ### Example ```php @@ -769,7 +769,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->orders()->withId("ID")->head()` -Checks if an Order exists with the provided `id` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` status if the Order exists or a `404 Not Found` otherwise. +Checks if an Order exists with the provided `id` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -827,7 +827,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->orders()->withOrderNumber("orderNumber")->head()` -Checks if an Order exists with the provided `orderNumber` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` status if the Order exists or a `404 Not Found` otherwise. +Checks if an Order exists with the provided `orderNumber` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -909,7 +909,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quoteRequests()->head()` -Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200 OK` status if any QuoteRequests match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200` status if any QuoteRequests match the query predicate, or a `404` status otherwise. ### Example ```php @@ -962,7 +962,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quoteRequests()->withId("ID")->head()` -Checks if a QuoteRequest exists with the provided `id`. Returns a `200 OK` status if the QuoteRequest exists or a `404 Not Found` otherwise. +Checks if a QuoteRequest exists with the provided `id`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -1018,7 +1018,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quoteRequests()->withKey("key")->head()` -Checks if a QuoteRequest exists with the provided `key`. Returns a `200 OK` status if the QuoteRequest exists or a `404 Not Found` otherwise. +Checks if a QuoteRequest exists with the provided `key`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -1072,7 +1072,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quotes()->head()` -Checks if one or more Quotes exist for the provided query predicate. Returns a `200 OK` status if any Quotes match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Quotes exist for the provided query predicate. Returns a `200` status if any Quotes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -1108,7 +1108,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quotes()->withId("ID")->head()` -Checks if a Quote exists with the provided `id`. Returns a `200 OK` status if the Quote exists or a `404 Not Found` otherwise. +Checks if a Quote exists with the provided `id`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -1164,7 +1164,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->quotes()->withKey("key")->head()` -Checks if a Quote exists with the provided `key`. Returns a `200 OK` status if the Quote exists or a `404 Not Found` otherwise. +Checks if a Quote exists with the provided `key`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -1218,7 +1218,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->shoppingLists()->head()` -Checks if one or more ShoppingLists exist for the provided query predicate in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` if any ShoppingLists match the query predicate; otherwise, returns [Not Found](/../api/errors#404-not-found). +Checks if one or more ShoppingLists exist for the provided query predicate in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if any ShoppingLists match the query predicate, or a `404` status otherwise. ### Example @@ -1275,7 +1275,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->shoppingLists()->withId("ID")->head()` -Checks if a ShoppingList exists with the provided `id` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` if the ShoppingList exists; otherwise, returns [Not Found](/../api/errors#404-not-found). +Checks if a ShoppingList exists with the provided `id` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example @@ -1355,7 +1355,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->asAssociate()->withAssociateIdValue("associateId")->inBusinessUnitKeyWithBusinessUnitKeyValue("businessUnitKey")->shoppingLists()->withKey("key")->head()` -Checks if a ShoppingList exists with the provided `key` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200 OK` if the ShoppingList exists; otherwise, returns [Not Found](/../api/errors#404-not-found). +Checks if a ShoppingList exists with the provided `key` in a [BusinessUnit](ctp:api:type:BusinessUnit). Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example @@ -1429,7 +1429,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->associateRoles()->head()` -Checks if one or more AssociateRoles exist for the provided query predicate. Returns a `200 OK` status if any AssociateRole match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more AssociateRoles exist for the provided query predicate. Returns a `200` status if any AssociateRole match the query predicate, or a `404` status otherwise. ### Example ```php @@ -1473,7 +1473,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->associateRoles()->withId("ID")->head()` -Checks if an AssociateRole exists with the provided `id`. Returns a `200 OK` status if the AssociateRole exists or a `404 Not Found` otherwise. +Checks if an AssociateRole exists with the provided `id`. Returns a `200` status if the AssociateRole exists, or a `404` status otherwise. ### Example ```php @@ -1533,7 +1533,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->associateRoles()->withKey("key")->head()` -Checks if an AssociateRole exists with the provided `key`. Returns a `200 OK` status if the AssociateRole exists or a `404 Not Found` otherwise. +Checks if an AssociateRole exists with the provided `key`. Returns a `200` status if the AssociateRole exists, or a `404` status otherwise. ### Example ```php @@ -1593,7 +1593,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->attributeGroups()->head()` -Checks if one or more AttributeGroups exist for the provided query predicate. Returns `200 OK` status if any AttributeGroups match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more AttributeGroups exist for the provided query predicate. Returns `200` status if any AttributeGroups match the query predicate, or a `404` status otherwise. ### Example ```php @@ -1636,7 +1636,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->attributeGroups()->withId("ID")->head()` -Checks if an AttributeGroup exists with the provided `id`. Returns a `200 OK` status if the AttributeGroup exists or a `404 Not Found` otherwise. +Checks if an AttributeGroup exists with the provided `id`. Returns a `200` status if the AttributeGroup exists, or a `404` status otherwise. ### Example ```php @@ -1696,7 +1696,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->attributeGroups()->withKey("key")->head()` -Checks if an AttributeGroup exists with the provided `key`. Returns `200 OK` status if the AttributeGroup exists or a `404 Not Found` otherwise. +Checks if an AttributeGroup exists with the provided `key`. Returns `200` status if the AttributeGroup exists, or a `404` status otherwise. ### Example ```php @@ -1755,7 +1755,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->businessUnits()->head()` -Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200 OK` status if any BusinessUnits match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200` status if any BusinessUnits match the query predicate, or a `404` status otherwise. ### Example ```php @@ -1814,7 +1814,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->businessUnits()->withId("ID")->head()` -Checks if a BusinessUnit exists with the provided `id`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `id`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -1874,7 +1874,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->businessUnits()->withKey("key")->head()` -Checks if a BusinessUnit exists with the provided `key`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `key`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -1998,7 +1998,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->cartDiscounts()->head()` -Checks if one or more CartDiscounts exist for the provided query predicate. Returns a `200 OK` status if any CartDiscounts match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more CartDiscounts exist for the provided query predicate. Returns a `200` status if any CartDiscounts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2041,7 +2041,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->cartDiscounts()->withId("ID")->head()` -Checks if a CartDiscount exists with the provided `id`. Returns a `200 OK` status if the CartDiscount exists or a `404 Not Found` otherwise. +Checks if a CartDiscount exists with the provided `id`. Returns a `200` status if the CartDiscount exists, or a `404` status otherwise. ### Example ```php @@ -2101,7 +2101,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->cartDiscounts()->withKey("key")->head()` -Checks if a CartDiscount exists with the provided `key`. Returns a `200 OK` status if the CartDiscount exists or a `404 Not Found` otherwise. +Checks if a CartDiscount exists with the provided `key`. Returns a `200` status if the CartDiscount exists, or a `404` status otherwise. ### Example ```php @@ -2160,7 +2160,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->carts()->head()` -Checks if one or more Carts exist for the provided query predicate. Returns a `200 OK` status if any Carts match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Carts exist for the provided query predicate. Returns a `200` status if any Carts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2216,7 +2216,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->carts()->withId("ID")->head()` -Checks if a Cart exists for the provided `id`. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists for the provided `id`. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -2279,7 +2279,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->carts()->withCustomerId("customerId")->head()` -Checks if a Cart exists for a Customer. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists for a Customer. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -2311,7 +2311,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->carts()->withKey("key")->head()` -Checks if a Cart exists with the provided `key`. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists with the provided `key`. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -2403,7 +2403,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->categories()->head()` -Checks if one or more Categories exist for the provided query predicate. Returns a `200 OK` status if any Categories match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Categories exist for the provided query predicate. Returns a `200` status if any Categories match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2450,7 +2450,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->categories()->withId("ID")->head()` -Checks if a Category exists with the provided `id`. Returns a `200 OK` status if the Category exists or a `404 Not Found` otherwise. +Checks if a Category exists with the provided `id`. Returns a `200` status if the Category exists, or a `404` status otherwise. ### Example ```php @@ -2513,7 +2513,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->categories()->withKey("key")->head()` -Checks if a Category exists with the provided `key`. Returns a `200 OK` status if the Category exists or a `404 Not Found` otherwise. +Checks if a Category exists with the provided `key`. Returns a `200` status if the Category exists, or a `404` status otherwise. ### Example ```php @@ -2574,7 +2574,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->channels()->head()` -Checks if one or more Channels exist for the provided query predicate. Returns a `200 OK` status if any Channels match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Channels exist for the provided query predicate. Returns a `200` status if any Channels match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2617,7 +2617,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->channels()->withId("ID")->head()` -Checks if a Channel exists with the provided `id`. Returns a `200 OK` status if the Channel exists or a `404 Not Found` otherwise. +Checks if a Channel exists with the provided `id`. Returns a `200` status if the Channel exists, or a `404` status otherwise. ### Example ```php @@ -2678,7 +2678,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->channels()->withKey("key")->head()` -Checks if a Channel exists with the provided `key`. Returns a `200 OK` status if the Channel exists or a `404 Not Found` otherwise. +Checks if a Channel exists with the provided `key`. Returns a `200` status if the Channel exists, or a `404` status otherwise. ### Example ```php @@ -2739,7 +2739,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customObjects()->head()` -Checks if one or more CustomObjects exist for the provided query predicate. Returns a `200 OK` status if any CustomObjects match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more CustomObjects exist for the provided query predicate. Returns a `200` status if any CustomObjects match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2830,7 +2830,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customerGroups()->head()` -Checks if one or more CustomerGroups exist for the provided query predicate. Returns a `200 OK` status if any CustomerGroup match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more CustomerGroups exist for the provided query predicate. Returns a `200` status if any CustomerGroup match the query predicate, or a `404` status otherwise. ### Example ```php @@ -2873,7 +2873,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customerGroups()->withId("ID")->head()` -Checks if a CustomerGroup exists with the provided `id`. Returns a `200 OK` status if the CustomerGroup exists or a `404 Not Found` otherwise. +Checks if a CustomerGroup exists with the provided `id`. Returns a `200` status if the CustomerGroup exists, or a `404` status otherwise. ### Example ```php @@ -2933,7 +2933,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customerGroups()->withKey("key")->head()` -Checks if a CustomerGroup exists with the provided `key`. Returns a `200 OK` status if the CustomerGroup exists or a `404 Not Found` otherwise. +Checks if a CustomerGroup exists with the provided `key`. Returns a `200` status if the CustomerGroup exists, or a `404` status otherwise. ### Example ```php @@ -2992,7 +2992,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customers()->head()` -Checks if one or more Customers exist for the provided query predicate. Returns a `200 OK` status if any Customers match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Customers exist for the provided query predicate. Returns a `200` status if any Customers match the query predicate, or a `404` status otherwise. ### Example ```php @@ -3039,7 +3039,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customers()->withId("ID")->head()` -Checks if a Customer exists with the provided `id`. Returns a `200 OK` status if the Customer exists or a `404 Not Found` otherwise. +Checks if a Customer exists with the provided `id`. Returns a `200` status if the Customer exists, or a `404` status otherwise. ### Example ```php @@ -3155,7 +3155,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->customers()->withKey("key")->head()` -Checks if a Customer exists with the provided `key`. Returns a `200 OK` status if the Customer exists or a `404 Not Found` otherwise. +Checks if a Customer exists with the provided `key`. Returns a `200` status if the Customer exists, or a `404` status otherwise. ### Example ```php @@ -3336,7 +3336,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->discountCodes()->head()` -Checks if one or more DiscountCodes exist for the provided query predicate. Returns a `200 OK` status if any DiscountCodes match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more DiscountCodes exist for the provided query predicate. Returns a `200` status if any DiscountCodes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -3382,7 +3382,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->discountCodes()->withId("ID")->head()` -Checks if a DiscountCode exists with the provided `id`. Returns a `200 OK` status if the DiscountCode exists or a `404 Not Found` otherwise. +Checks if a DiscountCode exists with the provided `id`. Returns a `200` status if the DiscountCode exists, or a `404` status otherwise. ### Example ```php @@ -3445,7 +3445,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->discountCodes()->withKey("key")->head()` -Checks if a DiscountCode exists with the provided `key`. Returns a `200 OK` status if the DiscountCode exists or a `404 Not Found` otherwise. +Checks if a DiscountCode exists with the provided `key`. Returns a `200` status if the DiscountCode exists, or a `404` status otherwise. ### Example ```php @@ -3509,7 +3509,7 @@ $request = $builder ## `withProjectKey("projectKey")->discountGroups()->head()` Checks if one or more DiscountGroups exist for the provided query predicate. -Returns a `200 OK` status if any DiscountGroups match the query predicate; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if any DiscountGroups match the query predicate, or a `404` status otherwise. ### Example @@ -3557,7 +3557,7 @@ $request = $builder ## `withProjectKey("projectKey")->discountGroups()->withId("ID")->head()` Checks if a DiscountGroup exists with the provided `id`. -Returns a `200 OK` status if a DiscountGroup exists; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if a DiscountGroup exists, or a `404` status otherwise. ### Example @@ -3625,7 +3625,7 @@ $request = $builder ## `withProjectKey("projectKey")->discountGroups()->withKey("key")->head()` Checks if a DiscountGroup exists with the provided `key`. -Returns a `200 OK` status if a DiscountGroup exists; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if a DiscountGroup exists, or a `404` status otherwise. ### Example @@ -3690,7 +3690,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->extensions()->head()` -Checks if one or more Extensions exist for the provided query predicate. Returns a `200 OK` status if any Extensions match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Extensions exist for the provided query predicate. Returns a `200` status if any Extensions match the query predicate, or a `404` status otherwise. ### Example ```php @@ -3733,7 +3733,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->extensions()->withId("ID")->head()` -Checks if an Extension exists with the provided `id`. Returns a `200 OK` status if the Extension exists or a `404 Not Found` otherwise. +Checks if an Extension exists with the provided `id`. Returns a `200` status if the Extension exists, or a `404` status otherwise. ### Example ```php @@ -3793,7 +3793,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->extensions()->withKey("key")->head()` -Checks if an Extension exists with the provided `key`. Returns a `200 OK` status if the Extension exists or a `404 Not Found` otherwise. +Checks if an Extension exists with the provided `key`. Returns a `200` status if the Extension exists, or a `404` status otherwise. ### Example ```php @@ -3886,7 +3886,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->businessUnits()->head()` -Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200 OK` status if any BusinessUnits match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200` status if any BusinessUnits match the query predicate, or a `404` status otherwise. ### Example ```php @@ -3949,7 +3949,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->businessUnits()->withId("ID")->head()` -Checks if a BusinessUnit exists with the provided `id`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `id`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -4013,7 +4013,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->businessUnits()->withKey("key")->head()` -Checks if a BusinessUnit exists with the provided `key`. Returns a `200 OK` status if the BusinessUnit exists or a `404 Not Found` otherwise. +Checks if a BusinessUnit exists with the provided `key`. Returns a `200` status if the BusinessUnit exists, or a `404` status otherwise. ### Example ```php @@ -4093,7 +4093,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->cartDiscounts()->head()` -Checks if one or more CartDiscounts exist for the provided query predicate. Returns a `200 OK` status if any CartDiscounts match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more CartDiscounts exist for the provided query predicate. Returns a `200` status if any CartDiscounts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -4142,7 +4142,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->cartDiscounts()->withId("ID")->head()` -Checks if a CartDiscount exists with the provided `id`. Returns a `200 OK` status if the CartDiscount exists or a `404 Not Found` otherwise. +Checks if a CartDiscount exists with the provided `id`. Returns a `200` status if the CartDiscount exists, or a `404` status otherwise. ### Example ```php @@ -4210,7 +4210,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->cartDiscounts()->withKey("key")->head()` -Checks if a CartDiscount exists with the provided `key`. Returns a `200 OK` status if the CartDiscount exists or a `404 Not Found` otherwise. +Checks if a CartDiscount exists with the provided `key`. Returns a `200` status if the CartDiscount exists, or a `404` status otherwise. ### Example ```php @@ -4277,7 +4277,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->carts()->head()` -Checks if one or more Carts exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200 OK` status if any Carts match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Carts exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200` status if any Carts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -4339,7 +4339,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->carts()->withId("ID")->head()` -Checks if a Cart exists with the provided `id` in a Store. Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists with the provided `id` in a Store. Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -4414,7 +4414,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->carts()->withCustomerId("customerId")->head()` -Checks if one or more Carts exist for a Customer in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Carts exist for a Customer in a [Store](ctp:api:type:Store). Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -4452,7 +4452,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->carts()->withKey("key")->head()` -Checks if a Cart exists with the provided `key` in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the Cart exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists with the provided `key` in a [Store](ctp:api:type:Store). Returns a `200` status if the Cart exists, or a `404` status otherwise. ### Example ```php @@ -4554,7 +4554,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->customers()->head()` -Checks if one or more Customers exist for the provided query predicate. Returns a `200 OK` status if any Customers match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Customers exist for the provided query predicate. Returns a `200` status if any Customers match the query predicate, or a `404` status otherwise. ### Example ```php @@ -4608,7 +4608,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->customers()->withId("ID")->head()` -Checks if a Customer exists with the provided `id`. Returns a `200 OK` status if the Customer exists or a `404 Not Found` otherwise. +Checks if a Customer exists with the provided `id`. Returns a `200` status if the Customer exists, or a `404` status otherwise. ### Example ```php @@ -4743,7 +4743,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->customers()->withKey("key")->head()` -Checks if a Customer exists with the provided `key`. Returns a `200 OK` status if the Customer exists or a `404 Not Found` otherwise. +Checks if a Customer exists with the provided `key`. Returns a `200` status if the Customer exists, or a `404` status otherwise. ### Example ```php @@ -4900,7 +4900,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->get()` -Returns a Customer for a given Query Predicate in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Returns a Customer for a given Query Predicate in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -4922,7 +4922,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->post(null)` -Updates the Customer in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Updates the Customer in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -4943,7 +4943,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->delete()` -Deletes the Customer in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Deletes the Customer in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -4964,7 +4964,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->activeCart()->get()` -Retrieves the Customer's most recently modified [active Cart](ctp:api:type:CartState) in a Store. Returns a `200 OK` status if successful. +Retrieves the Customer's most recently modified [active Cart](ctp:api:type:CartState) in a Store. Returns a `200` status if successful. Carts with `Merchant` or `Quote` [CartOrigin](ctp:api:type:CartOrigin) are ignored. @@ -4989,7 +4989,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->activeCart()->head()` -Checks if an active Cart exists in a Store. Returns `200 OK` status if successful. +Checks if an active Cart exists in a Store. Returns `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5029,7 +5029,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->carts()->head()` -Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching `customerId` or `anonymousId`. Returns a `200 OK` status if any Carts match these conditions, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching `customerId` or `anonymousId`. Returns a `200` status if any Carts match these conditions, or a `404` status otherwise. ### Example @@ -5074,7 +5074,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->carts()->withId("ID")->get()` -Returns a Cart for a given `id` in a Store. Returns a `200 OK` status if the Cart exists. +Returns a Cart for a given `id` in a Store. Returns a `200` status if the Cart exists. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5115,7 +5115,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->carts()->withId("ID")->post(null)` -Updates the Cart for a given `id` in a Store. Returns a `200 OK` status if successful. +Updates the Cart for a given `id` in a Store. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5139,7 +5139,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->carts()->withId("ID")->delete()` -Deletes the Cart for a given `id` in a Store. Returns a `200 OK` status if successful. +Deletes the Cart for a given `id` in a Store. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5163,7 +5163,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->emailConfirm()->post(null)` -This is the last step in the [email verification process of a Customer](/../api/projects/customers#email-verification-of-customer-in-store). Returns a `200 OK` status if successful. +This is the last step in the [email verification process of a Customer](/../api/projects/customers#email-verification-of-customer-in-store). Returns a `200` status if successful. After the email is verified, all email tokens issued previously through the [email verification flow](/../api/projects/customers#email-verification-of-customer) are invalidated. This invalidation of tokens is [eventually consistent](/../api/general-concepts#eventual-consistency). @@ -5236,7 +5236,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->orders()->head()` -Checks if one or more Orders exist for the provided query predicate in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if one or more Orders exist for the provided query predicate in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -5297,7 +5297,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->orders()->withId("ID")->get()` -Retrieves an Order with the provided `id` in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Retrieves an Order with the provided `id` in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5321,7 +5321,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->orders()->withId("ID")->head()` -Checks if an Order exists with the provided `id` in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if an Order exists with the provided `id` in a [Store](ctp:api:type:Store) for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -5345,7 +5345,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->password()->post(null)` -Changing the password of the Customer produces the [CustomerPasswordUpdated](ctp:api:type:CustomerPasswordUpdatedMessage) Message with `reset=false`. Returns a `200 OK` status if successful. +Changing the password of the Customer produces the [CustomerPasswordUpdated](ctp:api:type:CustomerPasswordUpdatedMessage) Message with `reset=false`. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5394,7 +5394,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->get()` -Retrieves ShoppingLists for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200 OK` status if successful. +Retrieves ShoppingLists for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5417,7 +5417,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->head()` -Checks if one or more ShoppingLists exist for the provided query predicate for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200 OK` status if successful. +Checks if one or more ShoppingLists exist for the provided query predicate for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -5460,7 +5460,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withId("ID")->get()` -Retrieves a ShoppingList with the provided `id` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200 OK` status if successful. +Retrieves a ShoppingList with the provided `id` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5484,7 +5484,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withId("ID")->head()` -Checks if a ShoppingList exists with the provided `id` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Checks if a ShoppingList exists with the provided `id` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -5508,7 +5508,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withId("ID")->post(null)` -Updates a ShoppingList for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store) using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200 OK` status if successful. +Updates a ShoppingList for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store) using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5532,7 +5532,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withId("ID")->delete()` -Deletes a ShoppingList in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Deletes a ShoppingList in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5556,7 +5556,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withKey("key")->get()` -Retrieves a ShoppingList with the provided `key` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200 OK` status if successful. +Retrieves a ShoppingList with the provided `key` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5581,7 +5581,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withKey("key")->head()` -Checks if a ShoppingList exists with the provided `key` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Checks if a ShoppingList exists with the provided `key` for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -5605,7 +5605,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withKey("key")->post(null)` -Updates a ShoppingList for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store) using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200 OK` status if successful. +Updates a ShoppingList for the authenticated Customer or anonymous user in a [Store](ctp:api:type:Store) using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5629,7 +5629,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->me()->shoppingLists()->withKey("key")->delete()` -Deletes a ShoppingList in a [Store](ctp:api:type:Store). Returns a `200 OK` status if successful. +Deletes a ShoppingList in a [Store](ctp:api:type:Store). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -5692,7 +5692,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->orders()->head()` -Checks if one or more Orders exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200 OK` status if any Orders match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Orders exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200` status if any Orders match the query predicate, or a `404` status otherwise. ### Example ```php @@ -5761,7 +5761,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->orders()->withId("ID")->head()` -Checks if an Order exists with the provided `id` in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the Order exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if an Order exists with the provided `id` in a [Store](ctp:api:type:Store). Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -5833,7 +5833,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->orders()->withOrderNumber("orderNumber")->head()` -Checks if an Order exists with the provided `orderNumber` in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the Order exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if an Order exists with the provided `orderNumber` in a [Store](ctp:api:type:Store). Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -5940,7 +5940,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->productProjections()->withId("ID")->head()` -Checks if the current or staged representations of a Product exists with the provided `id` in the specified [Store](ctp:api:type:Store). Returns a `200 OK` status if the ProductProjection exists or a `404 Not Found` otherwise. +Checks if the current or staged representations of a Product exists with the provided `id` in the specified [Store](ctp:api:type:Store). Returns a `200` status if the ProductProjection exists, or a `404` status otherwise. ### Example ```php @@ -5982,7 +5982,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->productProjections()->withKey("key")->head()` -Checks if the current or staged representations of a Product exists with the provided `key` in the specified [Store](ctp:api:type:Store). Returns a `200 OK` status if the ProductProjection exists or a `404 Not Found` otherwise. +Checks if the current or staged representations of a Product exists with the provided `key` in the specified [Store](ctp:api:type:Store). Returns a `200` status if the ProductProjection exists, or a `404` status otherwise. ### Example ```php @@ -6233,7 +6233,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quoteRequests()->head()` -Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200 OK` status if any QuoteRequests match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200` status if any QuoteRequests match the query predicate, or a `404` status otherwise. ### Example ```php @@ -6279,7 +6279,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quoteRequests()->withId("ID")->head()` -Checks if a QuoteRequest exists with the provided `id`. Returns a `200 OK` status if the QuoteRequest exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a QuoteRequest exists with the provided `id`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -6343,7 +6343,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quoteRequests()->withKey("key")->head()` -Checks if a QuoteRequest exists with the provided `key`. Returns a `200 OK` status if the QuoteRequest exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a QuoteRequest exists with the provided `key`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -6406,7 +6406,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quotes()->head()` -Checks if one or more Quotes exist for the provided query predicate. Returns a `200 OK` status if any Quotes match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Quotes exist for the provided query predicate. Returns a `200` status if any Quotes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -6452,7 +6452,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quotes()->withId("ID")->head()` -Checks if a Quote exists with the provided `id`. Returns a `200 OK` status if the Quote exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Quote exists with the provided `id`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -6516,7 +6516,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->quotes()->withKey("key")->head()` -Checks if a Quote exists with the provided `key`. Returns a `200 OK` status if the Quote exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Quote exists with the provided `key`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -6584,7 +6584,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->shippingMethods()->matchingCart()->head()` -Checks if an active ShippingMethod that can ship to the shipping address of the given Cart exists in the given [Store](ctp:api:type:Store). Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if an active ShippingMethod that can ship to the shipping address of the given Cart exists in the given [Store](ctp:api:type:Store). Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -6615,7 +6615,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->shoppingLists()->head()` -Checks if one or more ShoppingLists exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200 OK` status if any ShoppingLists match the query predicate or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more ShoppingLists exist for the provided query predicate in a [Store](ctp:api:type:Store). Returns a `200` status if any ShoppingLists match the query predicate, or a `404` status otherwise. ### Example ```php @@ -6666,7 +6666,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->shoppingLists()->withId("ID")->head()` -Checks if a ShoppingList exists with the provided `id` in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the ShoppingList exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a ShoppingList exists with the provided `id` in a [Store](ctp:api:type:Store). Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example ```php @@ -6739,7 +6739,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->shoppingLists()->withKey("key")->head()` -Checks if a ShoppingList exists with the provided `key` in a [Store](ctp:api:type:Store). Returns a `200 OK` status if the ShoppingList exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a ShoppingList exists with the provided `key` in a [Store](ctp:api:type:Store). Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example ```php @@ -6808,7 +6808,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->stagedQuotes()->head()` -Checks if one or more StagedQuotes exist for the provided query predicate. Returns a `200 OK` status if any StagedQuotes match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more StagedQuotes exist for the provided query predicate. Returns a `200` status if any StagedQuotes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -6854,7 +6854,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->stagedQuotes()->withId("ID")->head()` -Checks if a StagedQuote exists with the provided `id`. Returns a `200 OK` status if the StagedQuote exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a StagedQuote exists with the provided `id`. Returns a `200` status if the StagedQuote exists, or a `404` status otherwise. ### Example ```php @@ -6918,7 +6918,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->stagedQuotes()->withKey("key")->head()` -Checks if a StagedQuote exists with the provided `key`. Returns a `200 OK` status if the StagedQuote exists or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a StagedQuote exists with the provided `key`. Returns a `200` status if the StagedQuote exists, or a `404` status otherwise. ### Example ```php @@ -6980,7 +6980,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inventory()->head()` -Checks if one or more InventoryEntries exist for the provided query predicate. Returns a `200 OK` status if any Inventory Entries match the Query Predicate, a `404 Not Found` otherwise. +Checks if one or more InventoryEntries exist for the provided query predicate. Returns a `200` status if any Inventory Entries match the Query Predicate, or a `404` status otherwise. ### Example ```php @@ -7023,7 +7023,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inventory()->withId("ID")->head()` -Checks if an InventoryEntry exists with the provided `id`. Returns a `200 OK` status if the InventoryEntry exists or a `404 Not Found` otherwise. +Checks if an InventoryEntry exists with the provided `id`. Returns a `200` status if the InventoryEntry exists, or a `404` status otherwise. ### Example ```php @@ -7083,7 +7083,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->inventory()->withKey("key")->head()` -Checks if an InventoryEntry exists with the provided `key`. Returns a `200 OK` status if the InventoryEntry exists or a `404 Not Found` otherwise. +Checks if an InventoryEntry exists with the provided `key`. Returns a `200` status if the InventoryEntry exists, or a `404` status otherwise. ### Example ```php @@ -7151,7 +7151,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->get()` -Returns a Customer for a given Query Predicate. Returns a `200 OK` status if successful. +Returns a Customer for a given Query Predicate. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7171,7 +7171,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->post(null)` -Updates the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200 OK` status if successful. +Updates the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200` status if successful. ### Example @@ -7186,7 +7186,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->delete()` -Deletes the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200 OK` status if successful. +Deletes the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200` status if successful. ### Example ```php @@ -7200,7 +7200,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->activeCart()->get()` -Retrieves the Customer's most recently modified [active Cart](ctp:api:type:CartState). Returns a `200 OK` status if successful. +Retrieves the Customer's most recently modified [active Cart](ctp:api:type:CartState). Returns a `200` status if successful. Carts with `Merchant` or `Quote` [CartOrigin](ctp:api:type:CartOrigin) are ignored. @@ -7223,7 +7223,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->activeCart()->head()` -Checks if an active Cart exists. Returns a `200 OK` status if successful. +Checks if an active Cart exists. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7244,7 +7244,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->get()` -Retrieves Business Units for the authenticated Customer. Returns a `200 OK` status if successful, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Retrieves Business Units for the authenticated Customer. Returns a `200` status if successful, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7260,7 +7260,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->head()` -Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200 OK` status if any BusinessUnits match the Query Predicate and the Customer has access to them, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if one or more BusinessUnits exist for the provided query predicate. Returns a `200` status if any BusinessUnits match the Query Predicate and the Customer has access to them, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7292,7 +7292,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withId("ID")->get()` -Returns a Business Unit for a given `id`. Returns a `200 OK` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Returns a Business Unit for a given `id`. Returns a `200` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7309,7 +7309,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withId("ID")->head()` -Checks if a BusinessUnit exists with the provided `id`. Returns a `200 OK` status if the BusinessUnit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a BusinessUnit exists with the provided `id`. Returns a `200` status if the BusinessUnit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -7325,7 +7325,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withId("ID")->post(null)` -Updates a Business Unit for a given `id`. Returns a `200 OK` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Updates a Business Unit for a given `id`. Returns a `200` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7342,7 +7342,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withKey("key")->get()` -Returns a Business Unit for a given `key`. Returns a `200 OK` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Returns a Business Unit for a given `key`. Returns a `200` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -7358,7 +7358,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withKey("key")->head()` -Checks if a BusinessUnit exists with the provided `key`. Returns a `200 OK` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a BusinessUnit exists with the provided `key`. Returns a `200` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -7374,7 +7374,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->businessUnits()->withKey("key")->post(null)` -Updates a Business Unit for a given `key`. Returns a `200 OK` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Updates a Business Unit for a given `key`. Returns a `200` status if the Business Unit exists and the Customer has access to it, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -7406,7 +7406,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->carts()->head()` -Checks if a Cart exists that matches a given Query Predicate and contains either a matching `customerId` or `anonymousId`. Returns a `200 OK` status if the Cart exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Cart exists that matches a given Query Predicate and contains either a matching `customerId` or `anonymousId`. Returns a `200` status if the Cart exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7446,7 +7446,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->carts()->withId("ID")->get()` -Returns a Cart for a given `id`. Returns a `200 OK` status if successful. +Returns a Cart for a given `id`. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7468,7 +7468,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->carts()->withId("ID")->head()` -Checks if a Cart exists with the provided `id`. Returns a `200 OK` status if the Cart exists. +Checks if a Cart exists with the provided `id`. Returns a `200` status if the Cart exists. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7490,7 +7490,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->carts()->withId("ID")->post(null)` -Updates the Cart for a given `id`. Returns a `200 OK` status if successful. +Updates the Cart for a given `id`. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7512,7 +7512,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->carts()->withId("ID")->delete()` -Deletes the Cart for a given `id`. Returns a `200 OK` status if successful. +Deletes the Cart for a given `id`. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7630,7 +7630,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->orders()->head()` -Checks if one or more Orders exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if one or more Orders exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -7688,7 +7688,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->orders()->withId("ID")->get()` -Retrieves an Order with the provided `id` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Retrieves an Order with the provided `id` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -7710,7 +7710,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->orders()->withId("ID")->head()` -Checks if an Order exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if an Order exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -7815,7 +7815,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->payments()->head()` -Checks if one or more [Payments](/projects/me-payments#mypayment) exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200 OK` status if any Payments match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more [Payments](/projects/me-payments#mypayment) exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200` status if any Payments match the query predicate, or a `404` status otherwise. ### Example ```php @@ -7863,7 +7863,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->payments()->withId("ID")->head()` -Checks if a [Payment](/projects/me-payments#mypayment) exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200 OK` status if the Payment exists, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a [Payment](/projects/me-payments#mypayment) exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200` status if the Payment exists, or a `404` status otherwise. ### Example ```php @@ -7915,7 +7915,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quoteRequests()->get()` -Retrieves Quote Requests for the authenticated Customer. Returns a `200 OK` status if successful. +Retrieves Quote Requests for the authenticated Customer. Returns a `200` status if successful. ### Example @@ -7931,7 +7931,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quoteRequests()->head()` -Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200 OK` status if any QuoteRequests match the query predicate, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200` status if any QuoteRequests match the query predicate, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -7978,7 +7978,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quoteRequests()->withId("ID")->head()` -Checks if a QuoteRequest exists with the provided `id`. Returns a `200 OK` status if the QuoteRequest exists or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a QuoteRequest exists with the provided `id`. Returns a `200` status if the QuoteRequest exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -8026,7 +8026,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quoteRequests()->withKey("key")->head()` -Checks if a QuoteRequest exists with the provided `key`. Returns a `200 OK` status if the QuoteRequest exists or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a QuoteRequest exists with the provided `key`. Returns a `200` status if the QuoteRequest exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -8073,7 +8073,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quotes()->head()` -Checks if one or more Quotes exist for the provided query predicate. Returns a `200 OK` status if any Quotes match the query predicate, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if one or more Quotes exist for the provided query predicate. Returns a `200` status if any Quotes match the query predicate, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -8104,7 +8104,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quotes()->withId("ID")->head()` -Checks if a Quote exists with the provided `id`. Returns a `200 OK` status if the Quote exists or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Quote exists with the provided `id`. Returns a `200` status if the Quote exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -8152,7 +8152,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->quotes()->withKey("key")->head()` -Checks if a Quote exists with the provided `key`. Returns a `200 OK` status if the Quote exists or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Quote exists with the provided `key`. Returns a `200` status if the Quote exists, or a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example ```php @@ -8184,7 +8184,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->get()` -Retrieves ShoppingLists for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Retrieves ShoppingLists for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8205,7 +8205,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->head()` -Checks if one or more ShoppingLists exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if one or more ShoppingLists exist for the provided query predicate for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -8242,7 +8242,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withId("ID")->get()` -Retrieves a ShoppingList with the provided `id` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Retrieves a ShoppingList with the provided `id` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8264,7 +8264,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withId("ID")->head()` -Checks if a ShoppingList exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if a ShoppingList exists with the provided `id` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -8286,7 +8286,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withId("ID")->post(null)` -Updates a ShoppingList for the authenticated Customer or anonymous user using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200 OK` status if successful. +Updates a ShoppingList for the authenticated Customer or anonymous user using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8308,7 +8308,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withId("ID")->delete()` -Deletes a ShoppingList for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Deletes a ShoppingList for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8330,7 +8330,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withKey("key")->get()` -Retrieves a ShoppingList with the provided `key` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Retrieves a ShoppingList with the provided `key` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8352,7 +8352,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withKey("key")->head()` -Checks if a ShoppingList exists with the provided `key` for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Checks if a ShoppingList exists with the provided `key` for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [Not Found](/../api/errors#404-not-found) error is returned in the following scenarios: @@ -8374,7 +8374,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withKey("key")->post(null)` -Updates a ShoppingList for the authenticated Customer or anonymous user using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200 OK` status if successful. +Updates a ShoppingList for the authenticated Customer or anonymous user using one or more [update actions](/../api/projects/me-shoppingLists#update-actions). Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8396,7 +8396,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->me()->shoppingLists()->withKey("key")->delete()` -Deletes a ShoppingList for the authenticated Customer or anonymous user. Returns a `200 OK` status if successful. +Deletes a ShoppingList for the authenticated Customer or anonymous user. Returns a `200` status if successful. A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios: @@ -8450,7 +8450,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->messages()->head()` -Checks if one or more Messages exist for the provided query predicate. Returns a `200 OK` status if any Messages match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Messages exist for the provided query predicate. Returns a `200` status if any Messages match the query predicate, or a `404` status otherwise. ### Example ```php @@ -8479,7 +8479,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->messages()->withId("ID")->head()` -Checks if a Message exists with the provided `id`. Returns a `200 OK` status if the Message exists or a `404 Not Found` otherwise. +Checks if a Message exists with the provided `id`. Returns a `200` status if the Message exists, or a `404` status otherwise. ### Example ```php @@ -8508,7 +8508,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->head()` -Checks if one or more Orders exist for the provided query predicate. Returns a `200 OK` status if any Orders match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Orders exist for the provided query predicate. Returns a `200` status if any Orders match the query predicate, or a `404` status otherwise. ### Example ```php @@ -8572,7 +8572,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->withId("ID")->head()` -Checks if an Order exists with the provided `id`. Returns a `200 OK` status if the Order exists or a `404 Not Found` otherwise. +Checks if an Order exists with the provided `id`. Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -8634,7 +8634,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->edits()->head()` -Checks if one or more OrderEdits exist for the provided query predicate. Returns a `200 OK` status if any OrderEdits match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more OrderEdits exist for the provided query predicate. Returns a `200` status if any OrderEdits match the query predicate, or a `404` status otherwise. ### Example ```php @@ -8684,7 +8684,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->edits()->withId("ID")->head()` -Checks if an OrderEdit exists with the provided `id`. Returns a `200 OK` status if the OrderEdit exists or a `404 Not Found` otherwise. +Checks if an OrderEdit exists with the provided `id`. Returns a `200` status if the OrderEdit exists, or a `404` status otherwise. ### Example ```php @@ -8766,7 +8766,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->edits()->withKey("key")->head()` -Checks if an OrderEdit exists with the provided `key`. Returns a `200 OK` status if the OrderEdit exists or a `404 Not Found` otherwise. +Checks if an OrderEdit exists with the provided `key`. Returns a `200` status if the OrderEdit exists, or a `404` status otherwise. ### Example ```php @@ -8851,7 +8851,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->orders()->withOrderNumber("orderNumber")->head()` -Checks if an Order exists with the provided `orderNumber`. Returns a `200 OK` status if the Order exists or a `404 Not Found` otherwise. +Checks if an Order exists with the provided `orderNumber`. Returns a `200` status if the Order exists, or a `404` status otherwise. ### Example ```php @@ -8940,7 +8940,7 @@ $request = $builder ## `withProjectKey("projectKey")->orders()->search()->head()` Checks whether a search index for the Project's Orders exists. -Returns a `200 OK` status if the index exists or a `404 Not Found` error otherwise. +Returns a `200` status if the index exists, or a `404` status otherwise. ### Example @@ -8972,7 +8972,7 @@ $request = $builder ## `withProjectKey("projectKey")->paymentMethods()->head()` Checks if one or more PaymentMethods exist for the provided query predicate. -Returns a `200 OK` status if any PaymentMethods match the query predicate; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if any PaymentMethods match the query predicate, or a `404` status otherwise. ### Example @@ -9020,7 +9020,7 @@ $request = $builder ## `withProjectKey("projectKey")->paymentMethods()->withId("ID")->head()` Checks if a PaymentMethod exists with the provided `id`. -Returns a `200 OK` status if the PaymentMethod exists; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if the PaymentMethod exists, or a `404` status otherwise. ### Example @@ -9086,7 +9086,7 @@ $request = $builder ## `withProjectKey("projectKey")->paymentMethods()->withKey("key")->head()` Checks if a PaymentMethod exists with the provided `key`. -Returns a `200 OK` status if the PaymentMethod exists; otherwise, returns a [Not Found](/../api/errors#404-not-found). +Returns a `200` status if the PaymentMethod exists, or a `404` status otherwise. ### Example @@ -9149,7 +9149,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->payments()->head()` -Checks if one or more Payments exist for the provided query predicate. Returns a `200 OK` status if any Payments match the query predicate, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if one or more Payments exist for the provided query predicate. Returns a `200` status if any Payments match the query predicate, or a `404` status otherwise. ### Example ```php @@ -9194,7 +9194,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->payments()->withId("ID")->head()` -Checks if a Payment exists with the provided `id`. Returns a `200 OK` status if the Payment exists, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Payment exists with the provided `id`. Returns a `200` status if the Payment exists, or a `404` status otherwise. ### Example ```php @@ -9254,7 +9254,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->payments()->withKey("key")->head()` -Checks if a Payment exists with the provided `key`. Returns a `200 OK` status if the Payment exists, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a Payment exists with the provided `key`. Returns a `200` status if the Payment exists, or a `404` status otherwise. ### Example ```php @@ -9313,7 +9313,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productDiscounts()->head()` -Checks if one or more ProductDiscounts exist for the provided query predicate. Returns a `200 OK` status if any ProductDiscounts match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ProductDiscounts exist for the provided query predicate. Returns a `200` status if any ProductDiscounts match the query predicate, or a `404` status otherwise. ### Example ```php @@ -9356,7 +9356,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productDiscounts()->withId("ID")->head()` -Checks if a ProductDiscount exists with the provided `id`. Returns a `200 OK` status if the ProductDiscount exists or a `404 Not Found` otherwise. +Checks if a ProductDiscount exists with the provided `id`. Returns a `200` status if the ProductDiscount exists, or a `404` status otherwise. ### Example ```php @@ -9416,7 +9416,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productDiscounts()->withKey("key")->head()` -Checks if a ProductDiscount exists with the provided `key`. Returns a `200 OK` status if the ProductDiscount exists or a `404 Not Found` otherwise. +Checks if a ProductDiscount exists with the provided `key`. Returns a `200` status if the ProductDiscount exists, or a `404` status otherwise. ### Example ```php @@ -9497,7 +9497,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productProjections()->head()` -Checks if the current or staged representation of a Product exists for the provided query predicate. Returns a `200 OK` status if any ProductProjections match the query predicate, or a `404 Not Found` otherwise. +Checks if the current or staged representation of a Product exists for the provided query predicate. Returns a `200` status if any ProductProjections match the query predicate, or a `404` status otherwise. ### Example ```php @@ -9527,7 +9527,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productProjections()->withId("ID")->head()` -Checks if the current or staged representation of a Product exists with the provided `id`. Returns a `200 OK` status if the ProductProjection exists or a `404 Not Found` otherwise. +Checks if the current or staged representation of a Product exists with the provided `id`. Returns a `200` status if the ProductProjection exists, or a `404` status otherwise. ### Example ```php @@ -9560,7 +9560,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productProjections()->withKey("key")->head()` -Checks if the current or staged representation of a Product exists with the provided `key`. Returns a `200 OK` status if the ProductProjection exists or a `404 Not Found` otherwise. +Checks if the current or staged representation of a Product exists with the provided `key`. Returns a `200` status if the ProductProjection exists, or a `404` status otherwise. ### Example ```php @@ -9640,7 +9640,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productSelections()->head()` -Checks if one or more ProductSelections exist for the provided query predicate. Returns a `200 OK` status if any ProductSelections match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ProductSelections exist for the provided query predicate. Returns a `200` status if any ProductSelections match the query predicate, or a `404` status otherwise. ### Example ```php @@ -9683,7 +9683,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productSelections()->withId("ID")->head()` -Checks if a ProductSelection exists with the provided `id`. Returns a `200 OK` status if the ProductSelection exists or a `404 Not Found` otherwise. +Checks if a ProductSelection exists with the provided `id`. Returns a `200` status if the ProductSelection exists, or a `404` status otherwise. ### Example ```php @@ -9759,7 +9759,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productSelections()->withKey("key")->head()` -Checks if a ProductSelection exists with the provided `key`. Returns a `200 OK` status if the ProductSelection exists or a `404 Not Found` otherwise. +Checks if a ProductSelection exists with the provided `key`. Returns a `200` status if the ProductSelection exists, or a `404` status otherwise. ### Example ```php @@ -9834,7 +9834,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productTailoring()->head()` -Checks if one or more ProductTailorings exist for the provided query predicate. Returns a `200 OK` status if any ProductTailoring match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ProductTailorings exist for the provided query predicate. Returns a `200` status if any ProductTailoring match the query predicate, or a `404` status otherwise. ### Example ```php @@ -9969,7 +9969,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productTypes()->head()` -Checks if one or more ProductTypes exist for the provided query predicate. Returns a `200 OK` status if any ProductTypes match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ProductTypes exist for the provided query predicate. Returns a `200` status if any ProductTypes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -10012,7 +10012,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productTypes()->withId("ID")->head()` -Checks if a ProductType exists with the provided `id`. Returns a `200 OK` status if the ProductType exists or a `404 Not Found` otherwise. +Checks if a ProductType exists with the provided `id`. Returns a `200` status if the ProductType exists, or a `404` status otherwise. ### Example ```php @@ -10072,7 +10072,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->productTypes()->withKey("key")->head()` -Checks if a ProductType exists with the provided `key`. Returns a `200 OK` status if the ProductType exists or a `404 Not Found` otherwise. +Checks if a ProductType exists with the provided `key`. Returns a `200` status if the ProductType exists, or a `404` status otherwise. ### Example ```php @@ -10131,7 +10131,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->products()->head()` -Checks if one or more Products exist for the provided query predicate. Returns a `200 OK` status if any Products match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Products exist for the provided query predicate. Returns a `200` status if any Products match the query predicate, or a `404` status otherwise. ### Example ```php @@ -10177,7 +10177,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->products()->withId("ID")->head()` -Checks if a Product exists with the provided `id`. Returns a `200 OK` status if the Product exists or a `404 Not Found` otherwise. +Checks if a Product exists with the provided `id`. Returns a `200` status if the Product exists, or a `404` status otherwise. ### Example ```php @@ -10282,7 +10282,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->products()->withKey("key")->head()` -Checks if a Product exists with the provided `key`. Returns a `200 OK` status if the Product exists or a `404 Not Found` otherwise. +Checks if a Product exists with the provided `key`. Returns a `200` status if the Product exists, or a `404` status otherwise. ### Example ```php @@ -10375,7 +10375,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quoteRequests()->head()` -Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200 OK` status if any QuoteRequests match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more QuoteRequests exist for the provided query predicate. Returns a `200` status if any QuoteRequests match the query predicate, or a `404` status otherwise. ### Example ```php @@ -10418,7 +10418,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quoteRequests()->withId("ID")->head()` -Checks if a QuoteRequest exists with the provided `id`. Returns a `200 OK` status if the QuoteRequest exists or a `404 Not Found` otherwise. +Checks if a QuoteRequest exists with the provided `id`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -10478,7 +10478,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quoteRequests()->withKey("key")->head()` -Checks if a QuoteRequest exists with the provided `key`. Returns a `200 OK` status if the QuoteRequest exists or a `404 Not Found` otherwise. +Checks if a QuoteRequest exists with the provided `key`. Returns a `200` status if the QuoteRequest exists, or a `404` status otherwise. ### Example ```php @@ -10537,7 +10537,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quotes()->head()` -Checks if one or more Quotes exist for the provided query predicate. Returns a `200 OK` status if any Quotes match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Quotes exist for the provided query predicate. Returns a `200` status if any Quotes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -10580,7 +10580,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quotes()->withId("ID")->head()` -Checks if a Quote exists with the provided `id`. Returns a `200 OK` status if the Quote exists or a `404 Not Found` otherwise. +Checks if a Quote exists with the provided `id`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -10640,7 +10640,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->quotes()->withKey("key")->head()` -Checks if a Quote exists with the provided `key`. Returns a `200 OK` status if the Quote exists or a `404 Not Found` otherwise. +Checks if a Quote exists with the provided `key`. Returns a `200` status if the Quote exists, or a `404` status otherwise. ### Example ```php @@ -10700,7 +10700,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurrencePolicies()->head()` -Checks if one or more Recurrence Policies exist for the provided query predicate. Returns a `200 OK` status if any Recurrence Policies match the query predicate, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if one or more Recurrence Policies exist for the provided query predicate. Returns a `200` status if any Recurrence Policies match the query predicate, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10746,7 +10746,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurrencePolicies()->withId("ID")->head()` -Checks if a Recurrence Policy exists with the provided `id`. Returns a `200 OK` status if the Recurrence Policy exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Recurrence Policy exists with the provided `id`. Returns a `200` status if the Recurrence Policy exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10794,7 +10794,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurrencePolicies()->withKey("key")->head()` -Checks if a Recurrence Policy exists with the provided `key`. Returns a `200 OK` status if the Recurrence Policy exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Recurrence Policy exists with the provided `key`. Returns a `200` status if the Recurrence Policy exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10841,7 +10841,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurringOrders()->head()` -Checks if one or more Recurring Orders exist for the provided query predicate. Returns a `200 OK` status if any Recurring Orders match the query predicate, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if one or more Recurring Orders exist for the provided query predicate. Returns a `200` status if any Recurring Orders match the query predicate, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10893,7 +10893,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurringOrders()->withId("ID")->head()` -Checks if a Recurring Order exists with the provided `id`. Returns a `200 OK` status if the Recurring Order exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Recurring Order exists with the provided `id`. Returns a `200` status if the Recurring Order exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10941,7 +10941,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->recurringOrders()->withKey("key")->head()` -Checks if a Recurring Order exists with the provided `key`. Returns a `200 OK` status if the Recurring Order exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. +Checks if a Recurring Order exists with the provided `key`. Returns a `200` status if the Recurring Order exists, or a [NotFound](ctp:api:type:ResourceNotFoundError) error otherwise. ### Example @@ -10987,7 +10987,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->reviews()->head()` -Checks if one or more Reviews exist for the provided query predicate. Returns a `200 OK` status if any Reviews match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Reviews exist for the provided query predicate. Returns a `200` status if any Reviews match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11030,7 +11030,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->reviews()->withId("ID")->head()` -Checks if a Review exists with the provided `id`. Returns a `200 OK` status if the Review exists or a `404 Not Found` otherwise. +Checks if a Review exists with the provided `id`. Returns a `200` status if the Review exists, or a `404` status otherwise. ### Example ```php @@ -11090,7 +11090,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->reviews()->withKey("key")->head()` -Checks if a Review exists with the provided `key`. Returns a `200 OK` status if the Review exists or a `404 Not Found` otherwise. +Checks if a Review exists with the provided `key`. Returns a `200` status if the Review exists, or a `404` status otherwise. ### Example ```php @@ -11149,7 +11149,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->head()` -Checks if one or more ShippingMethods exist for the provided query predicate. Returns a `200 OK` status if any ShippingMethods match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ShippingMethods exist for the provided query predicate. Returns a `200` status if any ShippingMethods match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11192,7 +11192,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->withId("ID")->head()` -Checks if a ShippingMethod exists with the provided `id`. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if a ShippingMethod exists with the provided `id`. Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11252,7 +11252,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->withKey("key")->head()` -Checks if a ShippingMethod exists with the provided `key`. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if a ShippingMethod exists with the provided `key`. Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11316,7 +11316,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->matchingCart()->head()` -Checks if an active ShippingMethod exists for the given Cart. If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if an active ShippingMethod exists for the given Cart. If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array. Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11351,7 +11351,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->matchingCartLocation()->head()` -Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists for the given Cart. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists for the given Cart. Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11387,7 +11387,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->matchingLocation()->head()` -Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists. Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11420,7 +11420,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shippingMethods()->matchingOrderedit()->head()` -Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists for the given [OrderEdit](ctp:api:type:OrderEdit). Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise. +Checks if an active ShippingMethod that can ship to the given [Location](ctp:api:type:Location) exists for the given [OrderEdit](ctp:api:type:OrderEdit). Returns a `200` status if the ShippingMethod exists, or a `404` status otherwise. ### Example ```php @@ -11449,7 +11449,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shoppingLists()->head()` -Checks if one or more ShoppingLists exist for the provided query predicate. Returns a `200 OK` status if any ShoppingLists match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more ShoppingLists exist for the provided query predicate. Returns a `200` status if any ShoppingLists match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11492,7 +11492,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shoppingLists()->withId("ID")->head()` -Checks if a ShoppingList exists with the provided `id`. Returns a `200 OK` status if the ShoppingList exists, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a ShoppingList exists with the provided `id`. Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example ```php @@ -11552,7 +11552,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->shoppingLists()->withKey("key")->head()` -Checks if a ShoppingList exists with the provided `key`. Returns a `200 OK` status if the ShoppingList exists, or [Not Found](/../api/errors#404-not-found) otherwise. +Checks if a ShoppingList exists with the provided `key`. Returns a `200` status if the ShoppingList exists, or a `404` status otherwise. ### Example ```php @@ -11611,7 +11611,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stagedQuotes()->head()` -Checks if one or more StagedQuotes exist for the provided query predicate. Returns a `200 OK` status if any StagedQuotes match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more StagedQuotes exist for the provided query predicate. Returns a `200` status if any StagedQuotes match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11654,7 +11654,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stagedQuotes()->withId("ID")->head()` -Checks if a StagedQuote exists with the provided `id`. Returns a `200 OK` status if the StagedQuote exists or a `404 Not Found` otherwise. +Checks if a StagedQuote exists with the provided `id`. Returns a `200` status if the StagedQuote exists, or a `404` status otherwise. ### Example ```php @@ -11714,7 +11714,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stagedQuotes()->withKey("key")->head()` -Checks if a StagedQuote exists with the provided `key`. Returns a `200 OK` status if the StagedQuote exists or a `404 Not Found` otherwise. +Checks if a StagedQuote exists with the provided `key`. Returns a `200` status if the StagedQuote exists, or a `404` status otherwise. ### Example ```php @@ -11773,7 +11773,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->standalonePrices()->head()` -Checks if one or more StandalonePrices exist for the provided query predicate. Returns a `200 OK` status if any StandalonePrices match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more StandalonePrices exist for the provided query predicate. Returns a `200` status if any StandalonePrices match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11820,7 +11820,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->standalonePrices()->withId("ID")->head()` -Checks if a StandalonePrice exists with the provided `id`. Returns a `200 OK` status if the StandalonePrice exists or a `404 Not Found` otherwise. +Checks if a StandalonePrice exists with the provided `id`. Returns a `200` status if the StandalonePrice exists, or a `404` status otherwise. ### Example ```php @@ -11881,7 +11881,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->standalonePrices()->withKey("key")->head()` -Checks if a StandalonePrice exists with the provided `key`. Returns a `200 OK` status if the StandalonePrice exists or a `404 Not Found` otherwise. +Checks if a StandalonePrice exists with the provided `key`. Returns a `200` status if the StandalonePrice exists, or a `404` status otherwise. ### Example ```php @@ -11941,7 +11941,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->states()->head()` -Checks if one or more States exist for the provided query predicate. Returns a `200 OK` status if any States match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more States exist for the provided query predicate. Returns a `200` status if any States match the query predicate, or a `404` status otherwise. ### Example ```php @@ -11984,7 +11984,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->states()->withId("ID")->head()` -Checks if a State exists with the provided `id`. Returns a `200 OK` status if the State exists or a `404 Not Found` otherwise. +Checks if a State exists with the provided `id`. Returns a `200` status if the State exists, or a `404` status otherwise. ### Example ```php @@ -12044,7 +12044,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->states()->withKey("key")->head()` -Checks if a State exists with the provided `key`. Returns a `200 OK` status if the State exists or a `404 Not Found` otherwise. +Checks if a State exists with the provided `key`. Returns a `200` status if the State exists, or a `404` status otherwise. ### Example ```php @@ -12103,7 +12103,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stores()->head()` -Checks if one or more Stores exist for the provided query predicate. Returns a `200 OK` status if any Stores match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Stores exist for the provided query predicate. Returns a `200` status if any Stores match the query predicate, or a `404` status otherwise. ### Example ```php @@ -12146,7 +12146,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stores()->withId("ID")->head()` -Checks if a Store exists with the provided `id`. Returns a `200 OK` status if the Store exists or a `404 Not Found` otherwise. +Checks if a Store exists with the provided `id`. Returns a `200` status if the Store exists, or a `404` status otherwise. ### Example ```php @@ -12206,7 +12206,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->stores()->withKey("key")->head()` -Checks if a Store exists with the provided `key`. Returns a `200 OK` status if the Store exists or a `404 Not Found` otherwise. +Checks if a Store exists with the provided `key`. Returns a `200` status if the Store exists, or a `404` status otherwise. ### Example ```php @@ -12265,7 +12265,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->subscriptions()->head()` -Checks if one or more Subscriptions exist for the provided query predicate. Returns a `200 OK` status if any Subscriptions match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Subscriptions exist for the provided query predicate. Returns a `200` status if any Subscriptions match the query predicate, or a `404` status otherwise. ### Example ```php @@ -12309,7 +12309,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->subscriptions()->withId("ID")->head()` -Checks if a Subscription exists with the provided `id`. Returns a `200 OK` status if the Subscription exists or a `404 Not Found` otherwise. +Checks if a Subscription exists with the provided `id`. Returns a `200` status if the Subscription exists, or a `404` status otherwise. ### Example ```php @@ -12386,7 +12386,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->subscriptions()->withKey("key")->head()` -Checks if a Subscription exists with the provided `key`. Returns a `200 OK` status if the Subscription exists or a `404 Not Found` otherwise. +Checks if a Subscription exists with the provided `key`. Returns a `200` status if the Subscription exists, or a `404` status otherwise. ### Example ```php @@ -12445,7 +12445,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->taxCategories()->head()` -Checks if one or more Tax Categories exist for the provided query predicate. Returns a `200 OK` status if any TaxCategories match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Tax Categories exist for the provided query predicate. Returns a `200` status if any TaxCategories match the query predicate, or a `404` status otherwise. ### Example ```php @@ -12488,7 +12488,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->taxCategories()->withId("ID")->head()` -Checks if a TaxCategory exists with the provided `id`. Returns a `200 OK` status if the TaxCategory exists or a `404 Not Found` otherwise. +Checks if a TaxCategory exists with the provided `id`. Returns a `200` status if the TaxCategory exists, or a `404` status otherwise. ### Example ```php @@ -12548,7 +12548,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->taxCategories()->withKey("key")->head()` -Checks if a TaxCategory exists with the provided `key`. Returns a `200 OK` status if the Tax Category exists or a `404 Not Found` otherwise. +Checks if a TaxCategory exists with the provided `key`. Returns a `200` status if the Tax Category exists, or a `404` status otherwise. ### Example ```php @@ -12607,7 +12607,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->types()->head()` -Checks if one or more Types exist for the provided query predicate. Returns a `200 OK` status if any Types match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Types exist for the provided query predicate. Returns a `200` status if any Types match the query predicate, or a `404` status otherwise. ### Example ```php @@ -12650,7 +12650,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->types()->withId("ID")->head()` -Checks if a Type exists with the provided `id`. Returns a `200 OK` status if the Type exists or a `404 Not Found` otherwise. +Checks if a Type exists with the provided `id`. Returns a `200` status if the Type exists, or a `404` status otherwise. ### Example ```php @@ -12710,7 +12710,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->types()->withKey("key")->head()` -Checks if a Type exists with the provided `key`. Returns a `200 OK` status if the Type exists or a `404 Not Found` otherwise. +Checks if a Type exists with the provided `key`. Returns a `200` status if the Type exists, or a `404` status otherwise. ### Example ```php @@ -12769,7 +12769,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->zones()->head()` -Checks if one or more Zones exist for the provided query predicate. Returns a `200 OK` status if any Zones match the query predicate, or a `404 Not Found` otherwise. +Checks if one or more Zones exist for the provided query predicate. Returns a `200` status if any Zones match the query predicate, or a `404` status otherwise. ### Example ```php @@ -12812,7 +12812,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->zones()->withId("ID")->head()` -Checks if a Zone exists with the provided `id`. Returns a `200 OK` status if the Zone exists or a `404 Not Found` otherwise. +Checks if a Zone exists with the provided `id`. Returns a `200` status if the Zone exists, or a `404` status otherwise. ### Example ```php @@ -12872,7 +12872,7 @@ $request = $builder ``` ## `withProjectKey("projectKey")->zones()->withKey("key")->head()` -Checks if a Zone exists with the provided `key`. Returns a `200 OK` status if the Zone exists or a `404 Not Found` otherwise. +Checks if a Zone exists with the provided `key`. Returns a `200` status if the Zone exists, or a `404` status otherwise. ### Example ```php diff --git a/references.txt b/references.txt index 101b42adb8a..ba492a8e5fc 100644 --- a/references.txt +++ b/references.txt @@ -459,3 +459,4 @@ c12d33dda145602c607dcf1bb77f503f4508a1ee 34ded54f57159e9d7596a9007841fba5e9f598a3 8b9d02ee9079c8b16ccf84262b33437596c08aa1 998e6d8a204bc1a4d6b269583134605798eaef41 +4f44e52ef2a04385fb8da09182511dd63ff5ee37