Skip to main content
Required scopes: checkout_read

Arguments

ID
The checkout experience the custom method belongs to. Required with shippingMethodId.
ID
A custom shipping method to read the current code of. Omit to get only the contract and starter code.

Returns

What is needed to write or edit a custom shipping method: the custom rate contract, starter code, and optionally one method’s current source.

Example