Skip to content

Instantly share code, notes, and snippets.

@reindert-vetter
Created November 16, 2023 14:03
Show Gist options
  • Save reindert-vetter/e1e9bf42afdbcc48a9e03adc377cc109 to your computer and use it in GitHub Desktop.
Save reindert-vetter/e1e9bf42afdbcc48a9e03adc377cc109 to your computer and use it in GitHub Desktop.
Checkout v2 endpoints
?limit=25 (for index)
?q= (for index)
?status=deleted ('deleted' or 'inactive' or 'active' or 'expired' or 'all') (for index)
?include=include=confirmation,custom_fields,order_bumps,popups,product,product_pricing,settings,statistics,template,upsells,webhooks (for all methods)

Example:

{"name":"Test checkout name","product":{"id":1}}

Body fields (dot notation; product.id = {"product": {"id": 123}})

  • confirmation.id
  • confirmation.type
  • confirmation.url
  • include
  • is_active
  • name
  • product.id
  • settings
  • slug
  • template.id
  • primary_color
  • webhooks.*.url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment