code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.ShippingRate.modify(
    "shr_1LSdrn2eZvKYlo2CxRF2J7J9",
    metadata={"order_id": "6735"},
  )
  '''Response {
    "id": "shr_1LSdrn2eZvKYlo2CxRF2J7J9",
    "object": "shipping_rate",
    "active": true,
    "created": 1659518871,
    "delivery_estimate": null,
    "display_name": "Ground shipping",
    "fixed_amount": {
      "amount": 500,
      "currency": "usd"
    },
    "livemode": false,
    "metadata": {
      "order_id": "6735"
    },
    "tax_behavior": "unspecified",
    "tax_code": null,
    "type": "fixed_amount"
  }'''
nl: Update a shipping rateUpdates an existing shipping rate object.Parameters active optional Whether the shipping rate can be used for new purchases. Defaults to true. fixed_amount optional dictionary preview feature Describes a fixed amount to charge for shipping. Must be present if type is fixed_amount.Show child parameters metadata optional dictionary Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.More parametersExpand all  tax_behavior optional preview feature ReturnsReturns the modified shipping rate object if the call succeeded