Update gift certificate
documentedUpdate gift certificate.
PUT /3dCartWebAPI/v1/GiftCertificates/{code}Gift Certificatesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{SHIFT4SHOP_BASE_URL}}/3dCartWebAPI/v1/GiftCertificates/{{$code}}" \\
-X PUT \\
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\
-H "Content-Type: application/json" \\
-H "Accept: application/json" \\
-d '{"amount": {{$amount}}, "recipient_name": "{{$toName}}", "recipient_email": "{{$toEmail}}", "sender_name": "{{$fromName}}", "sender_email": "{{$fromEmail}}", "expires_date": "{{$expiresDate}}", "notes": "{{$notes}}"}'