Skip to main content
Version: Live

updateMetadata

MUTATION

Updates metadata for an item.

Arguments

idRequired
String
The id of the item you want to update metadata for.
metadata_associateRequired
MetadataAssociate
The type of item you want to update metadata for. Options are: AUTHORIZATION, INVOICE, PAYMENT_METHOD_TOKEN, PAYMENT_SESSION, PAYOR, RECURRING, TRANSACTION, SALE
Values
AUTHORIZATIONINVOICEMERCHANTPAYMENT_INTENTPAYMENT_METHOD_TOKENPAYMENT_SESSIONPAYORRECURRINGTRANSACTIONSALESPLIT
merchant_uidRequired
String
The Pay Theory merchant_uid of the item you want to update metadata for.
metadataRequired
AWSJSON
The metadata you want to update the item with. Any keys passed in will overwrite the existing metadata.

Response

Boolean