Skip to main content
PATCH
Cancel a single Marketplace order line.

Headers

Authorization
string<JWT token>
required

Bearer JWT token, used to authenticate.

Example:

"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJyb2xlcyI6WyJwcm9kdWN0X21hbmFnZXIiLCJ3YXJlaG91c2VfbWFuYWdlciIsIm9yZGVyX21hbmFnZXIiLCJzdG9ja19tYW5hZ2VyIiwicHJpY2VfbWFuYWdlciIsIjEwMDAiXSwiaXNzIjoiYXBpLm5ldGV2ZW4uY29tIiwibG9naW4iOiJhcGktdGVzdC1hY2NvdW50QGVtYWlsLmNvbSIsInJldGFpbGVyX2lkIjpudWxsLCJkZWJ1ZyI6ZmFsc2UsImRlYnVnX2V4cGlyYXRpb25fZHR0IjpudWxsLCJzdWIiOjEwMDAsImlhdCI6MTYzMjEyNTEwNiwiZXhwIjoxNjMyMjExNTA2LCJhdWQiOiJhcGkubmV0ZXZlbi5jb20ifQ.3GfC01HmJl0PS2w16gIcoxgLN52vG5kkDhqNmrkkR4zIGK7ecVfFaZhQ4KCQnimwjWTrExszIE6Oc6d-hC0g-Q"

Accept
string<application/json>
required

type of data accepted

Example:

"application/json"

Content-Type
string<application/json>
required

type of data returned

Example:

"application/json"

Path Parameters

order-id
integer
required

Neteven internal identifier of the order to retrieve.

order-line-id
integer
required

Neteven internal identifier of an order's specific order_line to retrieve.

Body

application/json

An OrderLineCancelRequest object is send along with a PATCH /order_lines/cancel to update specific lines, including optional paramters.

quantity
integer

OPTIONAL integrated as a parameter for the task

Example:

3

reason
string

OPTIONAL integrated as a parameter for the task

Response

Confirmation that the asynchroneous process was properly triggered. This is NOT a confirmation that the status change request itself was successful.

data
object
metadata
object