post

Create offset calculation based on Shopify cart and related structures. Intended to be used by EcoCart's Shopify Widget.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Input to create an offset calculation based on a Shopify client.
Specific Shopify terms and objects used which may not be applicable
to other ecommerce sites.

cart
object
required
string
string
string
string
required

Used as the unique account identifier inside EcoCart.

Used as the endpoint for the shipment delivery. If not provided, it will be inferred from the header.

string
enum
Defaults to default

Payor mode. Should be 'default' for merchant_paying and customer_paying payor modes.If payor mode is hybrid (merchant_matching or customer_matching), multiple calculations will be created and each calculation should be one of 'merchant' or 'customer'

Allowed:
boolean
number

Variant price of the order to be charged to the merchant

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json