Clone lines into existing cart

Clones line items from a source cart into the target cart.

Required Fields:

  • cartId (route) - required; target cart
  • sourceCartId (query) - required; source cart to clone lines from

Responses

  • 202 Accepted: the clone-lines request was accepted for processing.
  • 400 Bad Request: the cartId or sourceCartId is missing/invalid.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
string
Body Params

ExcludeAdjustment default value is false. ExcludeUsagePriceTier default value is false

Request model for cloning specific line items within a cart.

LineNumbers
array of int32s | null

linenumbers of lines needs to clone

LineNumbers
boolean

exclude adjustment lines from cloning

boolean

exclude usage price tier from cloning

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
202

Accepted

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json