Offsets

One of the two carts

type is required. The shipped read returns both carts' lines in one list, so this route filters by line type and sums the totals over what is left. The cart belongs to the account the credential resolves to and survives between requests through the WooCommerce session, which is keyed on the user: this API carries no cookie and needs none.

get/v1/offsets/cart

Request

  • Base URL: https://carbonguru.io
  • URL: https://carbonguru.io/v1/offsets/cart
  • Auth: HTTP bearer

Query parameters

type'offset' | 'removal' required

Which cart. Required: there are two, and the shipped read returns both at once. offset settles through PayPal, removal through Stripe.

Response

The named cart, read back.

Changes

No recorded changes to this operation across all 1 revision of this API.