Skip to main content
PATCH
/
carts
/
{cartId}
/
fulfillments
/
{fulfillmentId}
/
adjustments
/
{adjustmentId}
Update fulfillment adjustment
curl --request PATCH \
  --url https://api.fabric.inc/v3/carts/{cartId}/fulfillments/{fulfillmentId}/adjustments/{adjustmentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \
  --data '{
  "price": {
    "amount": 12.99
  },
  "reason": "Price adjustment from Customer Representative",
  "attributes": {
    "source": "CSR"
  }
}'
{
  "id": "a8577d7f-0d4d-4b22-8e85-7b4a2e90dc93",
  "price": {
    "amount": 12.99
  },
  "reason": "Price adjustment from customer representative.",
  "attributes": {
    "source": "CSR"
  },
  "updatedAt": "2024-06-13T16:50:00.682Z",
  "createdAt": "2024-06-13T16:50:00.682Z"
}

Authorizations

Authorization
string
header
required

Headers

x-fabric-tenant-id
string
required
Example:
x-fabric-request-id
string
Example:
x-fabric-channel-id
string
Example:

Path Parameters

cartId
string
required
fulfillmentId
string
required
adjustmentId
string
required

Body

application/json
price
object
reason
string
Example:
attributes
object
Example:

Response

id
string
Example:
price
object
reason
string
Example:
attributes
object
Example:
updatedAt
string
Example:
createdAt
string
Example: