Updates the payment instrument of an order.
curl "https://{shortCode}.api.commercecloud.salesforce.com/checkout/orders/v1/organizations/{organizationId}/orders/{orderNo}/payment-instruments/{paymentInstrumentId}?siteId=SiteGenesis" \
-X PATCH \
-H "content-type: application/json" \
-d '{
"c_giftCardNumber": "12kH5DSkfsaErrRjKheWqqZ"
}'
Region-specific merchant identifier.
fd4gt8
An identifier for the organization the request is being made by.
f_ecom_zzxy_prd
The order number.
00000410
ID of the payment instrument.
b7679bea661819b2de78b9de7d
The identifer of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites
SiteGenesis
{
"c_giftCardNumber": "12kH5DSkfsaErrRjKheWqqZ"
}
This type supports additional properties passed along with the defined properties of this API. To indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a c_
. The type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix.
c_faxNumber
The operation was successful, no content is returned.