Merchant API

New Cart

Set up a new Order Source connection to CartRover

Post Fields

FieldData TypeLengthRequired?Description
cart_idStringYWhich cart to set up. See /cart/listall
user_keyStringNUser name/id for this API connection, if needed.
passwordStringNUser password for this API connection, if needed.
server_idString250NServer URL for this connection, if needed.
descriptionString100NOptional brief description for this connection
extra_paramsArrayArray of additional settings to set for this cart. You can get a list of valid settings for each cart from the /cart/listall endpoint and valid WMS options from the /wms/params endpoint.
schedulesArrayA list of schedules to set with the keys: order, confirm, inventory. Pass "ON" or "OFF" for each value.

Array Response Fields

FieldData TypeLengthDescription
order_sourceStringOrder Source assigned to this connection
oauth_linkStringIf this connection requires the user to grant access using oauth, it will be provided here.
test_successBooleanDid we successfully connect to the cart.
test_messageStringA testing result message will be returned. It may be an error message, or brief instructions if additional setup is needed.
extra_paramsArrayList of all params set and their values, even if they are the system default.
schedulesArrayList of service schedules: order, confirm, inventory. A value of 0 is OFF, anything else means ON.
post/v1/cart/new

Request

Request body

object required

Example request

{
  "cart_id": "Amazon_US",
  "user_key": "123AMAZONSELLERID456",
  "password": "123MWSAUTHTOKEN456",
  "description": "USA Seller Fulfilled",
  "schedules": {
    "order": "OFF",
    "confirm": "ON",
    "inventory": "ON"
  },
  "extra_params": {
    "item_field": "ASIN",
    "refund_delay": "N",
    "prime_ship_code": "PrimeOrder"
  }
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.