saveSharedOrganizationCartSettings

put

/ccadmin/v1/merchant/sharedOrganizationCart

Save settings for the Shared Organization Cart feature.

Request

Supported Media Types
Body ()
Root Schema : saveSharedOrganizationCart_request
Type: object
Show Source
Example:
{
    "weeksBeforePurgeForNotice":1,
    "hoursUntilEmptyCartPurgeDue":4,
    "enabled":true,
    "weeksUntilPurgeDue":8
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getSharedOrganizationCart_response
Type: object
Show Source
Example Response (application/json)
{
    "weeksBeforePurgeForNotice":1,
    "isEnabled":true,
    "hoursUntilEmptyCartPurgeDue":4,
    "weeksUntilPurgeDue":8
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |12201|A problem occurred when saving the data.| |10002|Attempt to set a boolean property isEnabled with a non-boolean value.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top