You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If `true`, only Composable Commerce Projects specified in `privateProjects` can access the Connector.
30
30
Privatebool`json:"private"`
31
-
// If not empty, Connectors can only be deployed in these Regions. If empty, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts).
31
+
// If provided, Connectors can only be deployed in these Regions. If not provided, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts). For faster request processing, we recommend adding only the required Region.
// If provided, Connectors can only be deployed in these Regions. If not provided, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts).
76
+
// If provided, Connectors can only be deployed in these Regions. If not provided, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts). For faster request processing, we recommend adding only the required Region.
// Composable Commerce Projects that can access the Connector. If empty, only the creator can access this Connector.
79
79
PrivateProjects []string`json:"privateProjects"`
@@ -136,7 +136,7 @@ type ConnectorStaged struct {
136
136
Privatebool`json:"private"`
137
137
// If `private` is true, only these Composable Commerce Projects can access the Connector.
138
138
PrivateProjects []string`json:"privateProjects"`
139
-
// If not empty, Connectors can only be deployed in these Regions. If empty, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts).
139
+
// If provided, Connectors can only be deployed in these Regions. If not provided, Connectors can be deployed in any [supported Region](hosts-and-authorization#hosts). For faster request processing, we recommend adding only the required Region.
* Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved).
486
-
* The client application should resolve the conflict (with or without involving the end-user) before retrying the request.
486
+
* The client application should resolve the conflict (with or without involving the enduser) before retrying the request.
return"unknown GenericError: failed to parse error response"
840
880
}
881
+
882
+
/**
883
+
* Returned when a resource referenced by a [Reference](/../api/types#reference) or a [ResourceIdentifier](/../api/types#resourceidentifier) could not be found.
884
+
*
885
+
*/
886
+
typeReferencedResourceNotFoundstruct {
887
+
// `"The referenced object of type $typeId $predicate was not found. It either doesn't exist, or it can't be accessed from this endpoint (e.g., if the endpoint filters by store or customer account)."`
888
+
Messagestring`json:"message"`
889
+
// Type of referenced resource.
890
+
TypeIdReferenceType`json:"typeId"`
891
+
// Unique identifier of the referenced resource, if known.
892
+
ID*string`json:"id,omitempty"`
893
+
// User-defined unique identifier of the referenced resource, if known.
894
+
Key*string`json:"key,omitempty"`
895
+
}
896
+
897
+
// MarshalJSON override to set the discriminator value or remove
Copy file name to clipboardexpand all lines: platform/client_active_cart_by_project_key_in_store_key_by_store_key_me_active_cart.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ type ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder struct {
21
21
*
22
22
* - If no active Cart exists.
23
23
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
24
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
24
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
41
-
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
41
+
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
66
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
66
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
37
-
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
37
+
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
Copy file name to clipboardexpand all lines: platform/client_active_cart_by_project_key_me_active_cart.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ type ByProjectKeyMeActiveCartRequestBuilder struct {
19
19
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
20
20
*
21
21
* - If no active Cart exists.
22
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
22
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
36
36
*
37
37
* - If no active Cart exists.
38
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
38
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
63
63
*
64
64
* - If no active Cart exists.
65
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
65
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
34
34
*
35
35
* - If no active Cart exists.
36
-
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
36
+
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* Creates a Cart in a Store for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#customer_idid) or [anonymous_id:{id}](/scopes#anonymous_idid) scope.
48
+
* Creates a Cart in a Store for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#composable-commerce-oauth) or [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
49
49
*
50
50
* The `store` field in the created [Cart](ctp:api:type:Cart) is set to the Store specified by the `storeKey` path parameter.
Copy file name to clipboardexpand all lines: platform/client_carts_by_project_key_in_store_key_by_store_key_me_carts_by_id.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ type ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder struct {
20
20
*
21
21
* - If no Cart exists in the Store for the given `id`.
22
22
* - If the Cart exists but does not belong to a Store, or the Cart's `store` field references a different Store.
23
-
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
23
+
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* - If no Cart exists in the Store for the given `id`.
46
46
* - If the Cart exists but does not belong to a Store, or the Cart's `store` field references a different Store.
47
-
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
47
+
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
@@ -62,7 +62,7 @@ func (rb *ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder) Post(body M
62
62
*
63
63
* - If no Cart exists in the Store for the given `id`.
64
64
* - If the Cart exists in the Project but does not belong to a Store, or the Cart's `store` field references a different Store.
65
-
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
65
+
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
* - If no Cart exists in the Store for the given `id`.
74
74
* - If the Cart exists in the Project but does not belong to a Store, or the Cart's `store` field references a different Store.
75
-
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
75
+
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
0 commit comments