List a design profile's versions
/design_profiles/{design_profile_id}/versionsEvery published version, newest first.
Headers
AuthorizationstringRequiredPath parameters
design_profile_idstringRequiredThe design profile's ID (dprof_).
Query parameters
limitintegerObjects per page. Defaults to 10.
starting_afterintegerA version number. Returns the versions before it. Mutually exclusive with ending_before.
ending_beforeintegerA version number. Returns the versions after it.
Returns
A page of versions.
resourcestringdataarray of objectsShow 5 child attributesHide child attributes
versionintegervaluesobjectWhat a design profile sets. Sessions and payment links can override flow, collection and express_methods.
Show 14 child attributesHide child attributes
display_namestringThe business name buyers see.
flowstringone_page shows everything on one page. steps splits it into Details, Shipping (only when something ships and there's more than one rate) and Payment, with no review step. Details asks for the country when tax needs it, so the total is final before Payment, and billing details sit in Payment. Defaults to the design profile's flow (in the checkout builder: Layout, Flow).
layoutstringsummary_positionstringblocksobjectShow 2 child attributesHide child attributes
shippingbooleanShows the shipping section when an order has items that ship.
header_imagebooleanheader_image_urlstring or nullThe image shown when blocks.header_image is on.
colorsobjectBrand colors as #RRGGBB, or null for Pay.com's default look in light and dark.
Show 3 child attributesHide child attributes
accentstring or nullbackgroundstring or nulltextstring or nullthemestringfontstringcorner_radiusstringexpress_methodsobjectWhere Apple Pay, Google Pay and the other express methods show. Both default to true.
Show 2 child attributesHide child attributes
express_rowobjectShow 1 child attributeHide child attributes
enabledbooleanmethod_listobjectShow 1 child attributeHide child attributes
enabledbooleancollectionobjectThe details the checkout asks for. Pay.com adds any a payment method or tax needs, and lists them in collection.added.
Show 6 child attributesHide child attributes
nameobjectShow 1 child attributeHide child attributes
enabledbooleanemailobjectShow 1 child attributeHide child attributes
enabledbooleanphone_numberobjectShow 1 child attributeHide child attributes
enabledbooleanbilling_addressobjectShow 1 child attributeHide child attributes
levelstringshipping_addressobjectAsked for whenever an item ships, even if you leave this out. Use it to limit countries, or to ask for an address with no shippable items.
Show 2 child attributesHide child attributes
enabledbooleanallowed_countriesarray of stringstax_idobjectShow 1 child attributeHide child attributes
enabledbooleansubmit_labelstringThe word on the button before the total, such as Pay.
custom_cssstring or nullApplies only once approved: publishing changed CSS that isn't approved returns 422 with custom_css_not_approved. See Submit custom CSS for review.
published_atstringpublished_bystringThe person, or api for an API key.
changesarray of stringsThe groups that changed from the version before, as the Commerce tab names them. Layout covers layout and summary_position, Blocks covers blocks and header_image_url, Colors covers colors and theme, Fields is collection and Button is submit_label. The first version's is [].
has_morebooleanErrors
400401403404