Skip to main content

Update cart by id

Update cart by id

Authorizations:Token
Query Parameters
id
required
integerId value of the Cart object
Request Body Schema:
Cart object that needs to be added
usedCouponsArray of objects (Used coupons)Used coupons
Array
idinteger
codestring
valuestring
order
coupon
uspsShipmentArray of objects (USPS Shipments)USPS Shipments
Array
idinteger
transactionIdstring
order
requestDataArray
responseDataArray
printDateinteger
pricestring
shipmentIdstring
trackingNumberstring
trackingDataArray
labelURLstring
labelContentArray
capostParcelsArray of objects (Canada Post parcels (reference to the Canada Post parcels model))Canada Post parcels (reference to the Canada Post parcels model)
Array
idinteger
numberinteger
statusstring
quoteTypestring
order
itemsArray
shipment
boxWeightstring
boxWidthstring
boxLengthstring
boxHeightstring
isDocumentboolean
isUnpackagedboolean
isMailingTubeboolean
isOversizedboolean
notifyOnShipmentboolean
notifyOnExceptionboolean
notifyOnDeliveryboolean
optSignatureboolean
optCoveragestring
optAgeProofstring
optWayToDeliverstring
optNonDeliverystring
capostReturnsArray of objects (Reference to the Canada Post returns model)Reference to the Canada Post returns model
Array
idinteger
itemsArray
linksArray
order
statusstring
dateinteger
lastRenewDateinteger
notesstring
adminNotesstring
trackingPinstring
capostOfficeobject
idintegerUnique ID
order
officeIdstringThe internal Canada Post assigned unique ID for a Post Office (Field pattern: "\d{10}", has leading zeros)
namestringThe name assigned to the Post Office (Max length: 40)
locationstringThe location of a Post Office. This is used to distinguish among various Post Offices that have similar names. (Max length: 40)
distancestringThe distance (in KM) to the Post Office from the location specified in the query (min: 0, max: 99999.99, fraction: 2)
bilingualDesignationbooleanTrue indicates that the Post Office provides bilingual services (English and French)
citystringMunicipality in which the Post Office is located (Max length: 40)
latitudestringThe latitude of the Post Office (min: 40, max: 90, fraction: 5)
longitudestringThe longitude of the Post Office (min: -150, max: -50, fraction: 5)
postalCodestringThe Postal Code of the Post Office
provincestringThe province where the Post Office is located
officeAddressstringStreet number and name for a Post Office (Max length: 64)
workingHoursArrayWorking hours list
giftWrappingboolean
greetingMessagestring
mailchimpStoreIdstringMailchimp store id
mandrill_mailsArray of objects (Mandrill e-mail messages)Mandrill e-mail messages
Array
mail_idstring
openedboolean
clickedboolean
ipstring
country_shortstring
mobileboolean
os_familystring
ua_familystring
order
not_finished_orderobject
usedCouponsArrayUsed coupons
uspsShipmentArrayUSPS Shipments
capostParcelsArrayCanada Post parcels (reference to the Canada Post parcels model)
capostReturnsArrayReference to the Canada Post returns model
capostOffice
giftWrappingboolean
greetingMessagestring
mailchimpStoreIdstringMailchimp store id
mandrill_mailsArrayMandrill e-mail messages
not_finished_order
pbOrder
conversation
order_idintegerOrder unique id
profile
orig_profile
shipping_idintegerShipping method unique id
shipping_method_namestringShipping method name
payment_method_namestringPayment method name
trackingstringShipping tracking code
dateintegerOrder creation timestamp
lastRenewDateintegerLast order renew date
paymentStatusobject
idintegerID
codestringStatus code
positionintegerPosition
shippingStatusobject
idintegerID
codestringStatus code
positionintegerPosition
notesstringCustomer notes
adminNotesstringAdmin notes
detailsArrayOrder details
trackingNumbersArrayOrder tracking numbers
eventsArrayOrder events queue
itemsArrayOrder items
surchargesArrayOrder surcharges
payment_transactionsArrayPayment transactions
currency
orderNumberstringUnique order identificator (it is working for orders only, not for cart entities)
recentbooleanRecent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExportbooleanFlag to exporting entities
totalstringTotal
subtotalstringSubtotal
pbOrderobject
idintegerID
ormusstringOrder ID returned by PB
transactionIdstringTransaction ID
order
parcelsArrayParcels association
createOrderResponseobject
conversationobject
idintegerUnique ID
messagesArrayMessages
order
membersArrayConversation members
order_idintegerOrder unique id
profileobject
gaClientIdstringGoogle analytics cid
socialLoginProviderstringAuth provider (facebook, google, etc.)
socialLoginIdstringAuth provider-unique user id (for ex. facebook user id)
pictureUrlstringProfile picture url
mail_chimp_listsArrayMailChimp lists
mail_chimp_interestsArrayMailChimp lists
mail_chimp_segmentsArrayMailChimp segments
auth_phone_numberstringAuthentication phone number
auth_phone_codestringAuthentication phone country code
authy_idintegerID in Authy
conversationsArrayCoupons
profile_idintegerProfile unique ID
loginstringLogin (e-mail)
passwordstringPassword
password_hintstringPassword hint
password_hint_answerstringPassword hint answer
passwordResetKeystringPassword reset key (for 'Forgot password')
passwordResetKeyDateintegerTimestamp of reset key creation date
access_levelintegerAccess level
cms_profile_idintegerCMS profile Id
cms_namestringCMS name
addedintegerTimestamp of profile creation date
first_loginintegerTimestamp of first login event
last_loginintegerTimestamp of last login event
statusstringProfile status
statusCommentstringStatus comment (reason)
refererstringReferer
order
eventArrayRelation to an event
languagestringLanguage code
last_shipping_idintegerLast selected shipping id
last_payment_idintegerLast selected payment id
membershipobject (Membership: many-to-one relation with memberships table)Membership: many-to-one relation with memberships table
pending_membershipobject (Pending membership: many-to-one relation with memberships table)Pending membership: many-to-one relation with memberships table
addressesArrayAddress book: one-to-many relation with address book entity
rolesArrayRoles
anonymousbooleanFlag of anonymous profile (used for checkout process only)
forceChangePasswordbooleanFlag if the user needs to change the password. The customers only
dateOfLoginAttemptintegerDate of last login attempt
countOfLoginAttemptsintegerCount of login attempt
searchFakeFieldstringFake field for search
xcPendingExportbooleanFlag to exporting entities
lastCheckoutEmailstringCheckout email
orig_profileobject
gaClientIdstringGoogle analytics cid
socialLoginProviderstringAuth provider (facebook, google, etc.)
socialLoginIdstringAuth provider-unique user id (for ex. facebook user id)
pictureUrlstringProfile picture url
mail_chimp_listsArrayMailChimp lists
mail_chimp_interestsArrayMailChimp lists
mail_chimp_segmentsArrayMailChimp segments
auth_phone_numberstringAuthentication phone number
auth_phone_codestringAuthentication phone country code
authy_idintegerID in Authy
conversationsArrayCoupons
profile_idintegerProfile unique ID
loginstringLogin (e-mail)
passwordstringPassword
password_hintstringPassword hint
password_hint_answerstringPassword hint answer
passwordResetKeystringPassword reset key (for 'Forgot password')
passwordResetKeyDateintegerTimestamp of reset key creation date
access_levelintegerAccess level
cms_profile_idintegerCMS profile Id
cms_namestringCMS name
addedintegerTimestamp of profile creation date
first_loginintegerTimestamp of first login event
last_loginintegerTimestamp of last login event
statusstringProfile status
statusCommentstringStatus comment (reason)
refererstringReferer
order
eventArrayRelation to an event
languagestringLanguage code
last_shipping_idintegerLast selected shipping id
last_payment_idintegerLast selected payment id
membershipobject (Membership: many-to-one relation with memberships table)Membership: many-to-one relation with memberships table
pending_membershipobject (Pending membership: many-to-one relation with memberships table)Pending membership: many-to-one relation with memberships table
addressesArrayAddress book: one-to-many relation with address book entity
rolesArrayRoles
anonymousbooleanFlag of anonymous profile (used for checkout process only)
forceChangePasswordbooleanFlag if the user needs to change the password. The customers only
dateOfLoginAttemptintegerDate of last login attempt
countOfLoginAttemptsintegerCount of login attempt
searchFakeFieldstringFake field for search
xcPendingExportbooleanFlag to exporting entities
lastCheckoutEmailstringCheckout email
shipping_idintegerShipping method unique id
shipping_method_namestringShipping method name
payment_method_namestringPayment method name
trackingstringShipping tracking code
dateintegerOrder creation timestamp
lastRenewDateintegerLast order renew date
paymentStatusobject
idintegerID
codestringStatus code
positionintegerPosition
shippingStatusobject
idintegerID
codestringStatus code
positionintegerPosition
notesstringCustomer notes
adminNotesstringAdmin notes
detailsArray of objects (Order details)Order details
Array
detail_idinteger
namestring
labelstring
valuestring
order
trackingNumbersArray of objects (Order tracking numbers)Order tracking numbers
Array
tracking_idinteger
valuestring
order
eventsArray of objects (Order events queue)Order events queue
Array
event_idinteger
dateinteger
codestring
descriptionstring
dataArray
commentstring
detailsArray
order
author
itemsArray of objects (Order items)Order items
Array
privateAttachmentsArray
categoryAddedstring
pinCodesArray
vatRatestring
capostParcelItemsArray
capostReturnItemsArray
customerAttachmentsArray
parcelItemsArray
variant
item_idinteger
object
namestring
skustring
pricestring
itemNetPricestring
discountedSubtotalstring
amountinteger
order
surchargesArray
attributeValuesArray
totalstring
subtotalstring
surchargesArray of objects (Order surcharges)Order surcharges
Array
owner
idinteger
typestring
codestring
classstring
includeboolean
availableboolean
valuestring
namestring
weightinteger
payment_transactionsArray of objects (Payment transactions)Payment transactions
Array
transaction_idinteger
dateinteger
publicTxnIdstring
method_namestring
method_local_namestring
statusstring
valuestring
notestring
typestring
public_idstring
order
payment_methodobject
method_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
moduleEnabledbooleanModule enabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
dataArray
backend_transactionsArray
currency
currencyobject
currency_idintegerCurrency unique id (ISO 4217 number)
codestringCurrency code (ISO 4217 alpha-3)
symbolstringSymbol
prefixstringPrefix
suffixstringSuffix
estringNumber of digits after the decimal separator.
decimalDelimiterstringDecimal part delimiter
thousandDelimiterstringThousand delimier
ordersArrayOrders
countriesArrayCountries
orderNumberstringUnique order identificator (it is working for orders only, not for cart entities)
recentbooleanRecent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExportbooleanFlag to exporting entities
totalstringTotal
subtotalstringSubtotal

Responses

200Success
Response schema:
Success
usedCouponsArray of objects (Used coupons)Used coupons
Array
idinteger
codestring
valuestring
order
coupon
uspsShipmentArray of objects (USPS Shipments)USPS Shipments
Array
idinteger
transactionIdstring
order
requestDataArray
responseDataArray
printDateinteger
pricestring
shipmentIdstring
trackingNumberstring
trackingDataArray
labelURLstring
labelContentArray
capostParcelsArray of objects (Canada Post parcels (reference to the Canada Post parcels model))Canada Post parcels (reference to the Canada Post parcels model)
Array
idinteger
numberinteger
statusstring
quoteTypestring
order
itemsArray
shipment
boxWeightstring
boxWidthstring
boxLengthstring
boxHeightstring
isDocumentboolean
isUnpackagedboolean
isMailingTubeboolean
isOversizedboolean
notifyOnShipmentboolean
notifyOnExceptionboolean
notifyOnDeliveryboolean
optSignatureboolean
optCoveragestring
optAgeProofstring
optWayToDeliverstring
optNonDeliverystring
capostReturnsArray of objects (Reference to the Canada Post returns model)Reference to the Canada Post returns model
Array
idinteger
itemsArray
linksArray
order
statusstring
dateinteger
lastRenewDateinteger
notesstring
adminNotesstring
trackingPinstring
capostOfficeobject
idintegerUnique ID
order
officeIdstringThe internal Canada Post assigned unique ID for a Post Office (Field pattern: "\d{10}", has leading zeros)
namestringThe name assigned to the Post Office (Max length: 40)
locationstringThe location of a Post Office. This is used to distinguish among various Post Offices that have similar names. (Max length: 40)
distancestringThe distance (in KM) to the Post Office from the location specified in the query (min: 0, max: 99999.99, fraction: 2)
bilingualDesignationbooleanTrue indicates that the Post Office provides bilingual services (English and French)
citystringMunicipality in which the Post Office is located (Max length: 40)
latitudestringThe latitude of the Post Office (min: 40, max: 90, fraction: 5)
longitudestringThe longitude of the Post Office (min: -150, max: -50, fraction: 5)
postalCodestringThe Postal Code of the Post Office
provincestringThe province where the Post Office is located
officeAddressstringStreet number and name for a Post Office (Max length: 64)
workingHoursArrayWorking hours list
giftWrappingboolean
greetingMessagestring
mailchimpStoreIdstringMailchimp store id
mandrill_mailsArray of objects (Mandrill e-mail messages)Mandrill e-mail messages
Array
mail_idstring
openedboolean
clickedboolean
ipstring
country_shortstring
mobileboolean
os_familystring
ua_familystring
order
not_finished_orderobject
usedCouponsArrayUsed coupons
uspsShipmentArrayUSPS Shipments
capostParcelsArrayCanada Post parcels (reference to the Canada Post parcels model)
capostReturnsArrayReference to the Canada Post returns model
capostOffice
giftWrappingboolean
greetingMessagestring
mailchimpStoreIdstringMailchimp store id
mandrill_mailsArrayMandrill e-mail messages
not_finished_order
pbOrder
conversation
order_idintegerOrder unique id
profile
orig_profile
shipping_idintegerShipping method unique id
shipping_method_namestringShipping method name
payment_method_namestringPayment method name
trackingstringShipping tracking code
dateintegerOrder creation timestamp
lastRenewDateintegerLast order renew date
paymentStatusobject
idintegerID
codestringStatus code
positionintegerPosition
shippingStatusobject
idintegerID
codestringStatus code
positionintegerPosition
notesstringCustomer notes
adminNotesstringAdmin notes
detailsArrayOrder details
trackingNumbersArrayOrder tracking numbers
eventsArrayOrder events queue
itemsArrayOrder items
surchargesArrayOrder surcharges
payment_transactionsArrayPayment transactions
currency
orderNumberstringUnique order identificator (it is working for orders only, not for cart entities)
recentbooleanRecent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExportbooleanFlag to exporting entities
totalstringTotal
subtotalstringSubtotal
pbOrderobject
idintegerID
ormusstringOrder ID returned by PB
transactionIdstringTransaction ID
order
parcelsArrayParcels association
createOrderResponseobject
conversationobject
idintegerUnique ID
messagesArrayMessages
order
membersArrayConversation members
order_idintegerOrder unique id
profileobject
gaClientIdstringGoogle analytics cid
socialLoginProviderstringAuth provider (facebook, google, etc.)
socialLoginIdstringAuth provider-unique user id (for ex. facebook user id)
pictureUrlstringProfile picture url
mail_chimp_listsArrayMailChimp lists
mail_chimp_interestsArrayMailChimp lists
mail_chimp_segmentsArrayMailChimp segments
auth_phone_numberstringAuthentication phone number
auth_phone_codestringAuthentication phone country code
authy_idintegerID in Authy
conversationsArrayCoupons
profile_idintegerProfile unique ID
loginstringLogin (e-mail)
passwordstringPassword
password_hintstringPassword hint
password_hint_answerstringPassword hint answer
passwordResetKeystringPassword reset key (for 'Forgot password')
passwordResetKeyDateintegerTimestamp of reset key creation date
access_levelintegerAccess level
cms_profile_idintegerCMS profile Id
cms_namestringCMS name
addedintegerTimestamp of profile creation date
first_loginintegerTimestamp of first login event
last_loginintegerTimestamp of last login event
statusstringProfile status
statusCommentstringStatus comment (reason)
refererstringReferer
order
eventArrayRelation to an event
languagestringLanguage code
last_shipping_idintegerLast selected shipping id
last_payment_idintegerLast selected payment id
membershipobject (Membership: many-to-one relation with memberships table)Membership: many-to-one relation with memberships table
pending_membershipobject (Pending membership: many-to-one relation with memberships table)Pending membership: many-to-one relation with memberships table
addressesArrayAddress book: one-to-many relation with address book entity
rolesArrayRoles
anonymousbooleanFlag of anonymous profile (used for checkout process only)
forceChangePasswordbooleanFlag if the user needs to change the password. The customers only
dateOfLoginAttemptintegerDate of last login attempt
countOfLoginAttemptsintegerCount of login attempt
searchFakeFieldstringFake field for search
xcPendingExportbooleanFlag to exporting entities
lastCheckoutEmailstringCheckout email
orig_profileobject
gaClientIdstringGoogle analytics cid
socialLoginProviderstringAuth provider (facebook, google, etc.)
socialLoginIdstringAuth provider-unique user id (for ex. facebook user id)
pictureUrlstringProfile picture url
mail_chimp_listsArrayMailChimp lists
mail_chimp_interestsArrayMailChimp lists
mail_chimp_segmentsArrayMailChimp segments
auth_phone_numberstringAuthentication phone number
auth_phone_codestringAuthentication phone country code
authy_idintegerID in Authy
conversationsArrayCoupons
profile_idintegerProfile unique ID
loginstringLogin (e-mail)
passwordstringPassword
password_hintstringPassword hint
password_hint_answerstringPassword hint answer
passwordResetKeystringPassword reset key (for 'Forgot password')
passwordResetKeyDateintegerTimestamp of reset key creation date
access_levelintegerAccess level
cms_profile_idintegerCMS profile Id
cms_namestringCMS name
addedintegerTimestamp of profile creation date
first_loginintegerTimestamp of first login event
last_loginintegerTimestamp of last login event
statusstringProfile status
statusCommentstringStatus comment (reason)
refererstringReferer
order
eventArrayRelation to an event
languagestringLanguage code
last_shipping_idintegerLast selected shipping id
last_payment_idintegerLast selected payment id
membershipobject (Membership: many-to-one relation with memberships table)Membership: many-to-one relation with memberships table
pending_membershipobject (Pending membership: many-to-one relation with memberships table)Pending membership: many-to-one relation with memberships table
addressesArrayAddress book: one-to-many relation with address book entity
rolesArrayRoles
anonymousbooleanFlag of anonymous profile (used for checkout process only)
forceChangePasswordbooleanFlag if the user needs to change the password. The customers only
dateOfLoginAttemptintegerDate of last login attempt
countOfLoginAttemptsintegerCount of login attempt
searchFakeFieldstringFake field for search
xcPendingExportbooleanFlag to exporting entities
lastCheckoutEmailstringCheckout email
shipping_idintegerShipping method unique id
shipping_method_namestringShipping method name
payment_method_namestringPayment method name
trackingstringShipping tracking code
dateintegerOrder creation timestamp
lastRenewDateintegerLast order renew date
paymentStatusobject
idintegerID
codestringStatus code
positionintegerPosition
shippingStatusobject
idintegerID
codestringStatus code
positionintegerPosition
notesstringCustomer notes
adminNotesstringAdmin notes
detailsArray of objects (Order details)Order details
Array
detail_idinteger
namestring
labelstring
valuestring
order
trackingNumbersArray of objects (Order tracking numbers)Order tracking numbers
Array
tracking_idinteger
valuestring
order
eventsArray of objects (Order events queue)Order events queue
Array
event_idinteger
dateinteger
codestring
descriptionstring
dataArray
commentstring
detailsArray
order
author
itemsArray of objects (Order items)Order items
Array
privateAttachmentsArray
categoryAddedstring
pinCodesArray
vatRatestring
capostParcelItemsArray
capostReturnItemsArray
customerAttachmentsArray
parcelItemsArray
variant
item_idinteger
object
namestring
skustring
pricestring
itemNetPricestring
discountedSubtotalstring
amountinteger
order
surchargesArray
attributeValuesArray
totalstring
subtotalstring
surchargesArray of objects (Order surcharges)Order surcharges
Array
owner
idinteger
typestring
codestring
classstring
includeboolean
availableboolean
valuestring
namestring
weightinteger
payment_transactionsArray of objects (Payment transactions)Payment transactions
Array
transaction_idinteger
dateinteger
publicTxnIdstring
method_namestring
method_local_namestring
statusstring
valuestring
notestring
typestring
public_idstring
order
payment_methodobject
method_idintegerPayment method unique id
service_namestringMethod service name (gateway or API name)
classstringProcess class name
moduleNamestringSpecific module family name
orderbyintegerPosition
adminOrderbyintegerPosition in popup
enabledbooleanEnabled status
moduleEnabledbooleanModule enabled status
addedbooleanAdded status
typestringType
settingsArraySettings
fromMarketplacebooleanFlag: 1 - method has been got from marketplace, 0 - method has been added after distr or module installation
iconURLstringPayment method icon URL (used for methods from marketplace)
countriesArrayCountries of merchant (merchants from these countries can sign up and use this method)
exCountriesArrayExcluded countries (merchants from these countries cannot sign up for payment account)
dataArray
backend_transactionsArray
currency
currencyobject
currency_idintegerCurrency unique id (ISO 4217 number)
codestringCurrency code (ISO 4217 alpha-3)
symbolstringSymbol
prefixstringPrefix
suffixstringSuffix
estringNumber of digits after the decimal separator.
decimalDelimiterstringDecimal part delimiter
thousandDelimiterstringThousand delimier
ordersArrayOrders
countriesArrayCountries
orderNumberstringUnique order identificator (it is working for orders only, not for cart entities)
recentbooleanRecent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExportbooleanFlag to exporting entities
totalstringTotal
subtotalstringSubtotal