Sharetribe API changes
2025-06-09
Added
- Add nested relationships
listing.authorandlisting.author.profileImageto thelistingrelationship of thetransactionresource in the Marketplace API. - Add nested relationships
listing.authorandlisting.author.profileImageto thelistingrelationship of thetransactionresource in the Integration API. - Add nested relationships
transaction.provider,transaction.provider.profileImageandtransaction.listingto thetransactionrelationship of thebookingresource in the Marketplace API. - Add nested relationships
stockReservation.transaction.listing,stockReservation.transaction.providerandstockReservation.transaction.provider.profileImageto thestockReservationrelationship of thestockAdjustmentresource in the Marketplace API.
2025-06-03
Added
- Add attribute
stateto thetransactionresource in the Marketplace API. - Add attribute
stateto thetransactionresource in the Integration API. - Add support for filtering by
statesin the Marketplace API/transactions/queryendpoint. - Add support for filtering by
statesin the Integration API/transactions/queryendpoint.
2025-04-28
Fixed
- Fix documentation incorrectly stating that the query interval for availability exceptions is 90 days instead of 366 days.
2025-04-10
Changed
- Add support for additional query parameters
hasBooking,hasStockReservation,hasPayin,hasMessage,bookingStates,stockReservationStates,bookingStartandbookingEndin the Marketplace API/transactions/queryAPI endpoint. - Add support for additional query parameters
lastTransitions,processNames,hasBooking,hasStockReservation,hasPayin,hasMessage,bookingStates,stockReservationStates,bookingStartandbookingEndin the Integration API/transactions/queryAPI endpoint. - Add support for filtering by extended data in the
Marketplace API
/transactions/queryAPI endpoint. - Add support for filtering by extended data in the
Integration API
/transactions/queryAPI endpoint. - Add possibility to sort by
lastTransitionedAt,lastMessageAt,bookingStartandbookingEndin the Marketplace API/transactions/queryAPI endpoint. - Add possibility to sort by
lastTransitionedAt,lastMessageAt,bookingStartandbookingEndin the Integration API/transactions/queryAPI endpoint.
2025-03-31
Changed
- Allow filtering availability time slots by dividing queried time frame into intervals in the Marketplace API. See
2024-10-08
Added
- Add
readpermission tocurrentUserpermissionSet in the Marketplace API. - Add
readpermission touserpermissionSet in the Integration API. - New Integration API endpoint
/users/update_permissions
2024-10-02
Added
- Add
initiateTransactionspermission tocurrentUserpermissionSet in the Marketplace API. - Add
initiateTransactionspermission touserpermissionSet in the Integration API.
2024-08-27
Added
- Add attribute
stateto thecurrentUserresource in the Marketplace API. - Add attribute
stateto theuserresource in the Marketplace API. - Add attribute
stateto theuserresource in the Integration API.
Deprecated
- The
bannedflag in thecurrentUseranduserresources in the Marketplace API, and in theuserresource in the Integration API, is now deprecated. Usestateinstead.
2024-08-16
Added
- Add support for new query parameters
idskeywordsoriginboundspricepublicDatametadatastartendseatsavailabilityminDurationstockModeminStocksortstatesin the Marketplace API/own_listings/queryendpoint.
2024-08-14
Added
- Add attribute
permissionsand relationshipeffectivePermissionSetfor thecurrentUserresource in the Marketplace API. - Add attribute
permissionsand relationshipeffectivePermissionSetfor theuserresource in the Integration API.
2024-05-20
Added
- Add support for passing collection options (
collectionOptionsparameter) when creating Stripe Account Links with the /stripe_account_links/create Marketplace API endpoint.
Deprecated
- The
collectparameters in the /stripe_account_links/create Marketplace API endpoint is now deprecated. UsecollectionOptionsinstead.
2024-04-25
Changed
- User display name can now be reset to default value. Affected endpoints:
2023-10-16
Added
- Add /sitemap_data/query_listings and /sitemap_data/query_assets API endpoints to Marketplace API.
2023-08-30
Added
- Add support for an additional query parameter
stockModein the Marketplace API/listings/queryand the Integration API/listings/queryAPI endpoints.
2023-05-09
Added
- Add support for querying multiple assets
2023-03-06
Added
- Add support for additional query parameters
userId,listingId,createdAtStart,createdAtEndandprocessNamesin the Marketplace API/transactions/queryAPI endpoint.
2023-02-14
Added
- Add documentation for asset references in Asset Delivery API.
2023-01-17
Fixed
- Fix an issue that prevented the listing search from working with negative numbers as search parameters
2022-12-21
Changed
- Document API rate limits that come into effect. See:
2022-05-16
- Add reference for the new Asset Delivery API.
2022-05-03
Added
- Add support for creating a listing in the Integration API via the /listings/create endpoint.
Fixed
- Fix issue causing several Marketplace and Integration API endpoints to ignore
the
limit.*andfields.*query parameters.
2022-04-05
Fixed
- Integration API's /users/show now treats the
emailquery parameter as case insensitive, as the rest of the APIs.
2022-03-23
Added
- Add support for deleting a user in the Marketplace API /current_user/delete endpoint using trusted token.
Changed
- The /transactions/transition and /transactions/transition_speculative command endpoints in the Marketplace API now return appropriate error code if either party of the transaction is a banned or deleted user.
- The /transactions/transition and /transactions/transition_speculative command endpoints in the Integration API now return appropriate error code if either party of the transaction is a banned or deleted user.
2021-12-16
Added
- Add support for filtering users by extended data in the Integration API /users/query endpoint.
- Add support for sorting of users by numeric extended data in the Integration API /users/query endpoint.
- Add
paginationLimitto API responsemetawhere applicable. Update documentation on pagination limits in some API requests. See pagination section.
2021-10-08
Changed
- Change
/listings/queryto return no listings ifidsparameter is empty. Earlier, the API ignoredidsfilter if the value was empty.
2021-09-22
Added
Add support for ids query parameter in the /listings/query endpoints in both
the Marketplace API and the Integration
API.
2021-09-20
Added
Add support for listing stock management:
- Add new resource type
stockAdjustmentin the Marketplace API and the Integration API and new API endpoints:/stock_adjustments/createin the Marketplace API and the Integration API/stock_adjustments/queryin the Marketplace API and the Integration API
- Add new resource type
stockReservationin the Marketplace API and the Integration API and new API endpoints:/stock_reservations/showendpoint in the Integration API
- Add new resource type
stockin the Marketplace API and the Integration API and new API endpoints:/stock/compare_and_setin the Marketplace API and the Integration API
- Add new relationships:
currentStockrelationship ofownListingresource in the Marketplace APIcurrentStockrelationship oflistingresource in the Marketplace APIcurrentStockrelationship oflistingresource in the Integration APIstockReservationrelationship oftransactionresource in the Marketplace APIstockReservationrelationship oftransactionresource in the Integration API
- Add support for new nested
relationships:
listing.currentStockoftransactionresources in the Marketplace API and Integration APIstockReservation.stockAdjustmentsoftransactionresource in the Integration API
- Add support for filtering listings by minimum available stock in the
/listings/queryendpoints in the Marketplace API and the Integration API
2021-06-10
Changed
- Allow creating Stripe Customer without PaymentMethodId. See
2021-05-11
Changed
- Allow combining
sortandkeywordsparameters in listings query in Marketplace API and Integration API. See
2021-04-29
Changed
- Updated Flex API timezone data to use the 2021a version of the IANA timezone database. This fixes an issue where time-based availability plans were incorrectly handled for some time zones that had their DST rules changed recently.
2021-03-25
- Add support for ISO 8601 timestamp string format without milliseconds, e.g. "2021-03-25T18:01:42Z"
2021-02-04
Added
- Add a
listingrelationship tobookingresource in Integration API. See booking relationships - Add support for querying events with
relatedResourceId. See querying events.
2021-01-27
Added
- Add a relationship from
reviewstotransactionin Integration API. See review relationships
2021-01-26
Deprecated
descriptionattribute of the marketplace resource in Marketplace API is now deprecated.descriptionattribute of the marketplace resource in Integration API is now deprecated.
2020-12-16
Added
- Add OpenID Connect to supported identity providers, see Identity providers.
2020-12-15
Added
- Add support for querying events in the Integration API
- See Events
- New Integration API endpoint
/events/query
- Add support for
listingrelationship foravailabilityExceptionresource type in the Integration API - Add support for
ownListingrelationship foravailabilityExceptionresource type in the Marketplace API
Changed
- Update the Integration API URL to
https://flex-integ-api.sharetribe.com/v1/integration_api/. Use of the oldhttps://flex-api.sharetribe.com/v1/integration_api/for the Integration API is now DEPRECATED. The latest Flex Integration API SDK v1.4.0 uses the correct URL by default.
2020-11-16
Added
- Add Google to supported identity providers, see Identity providers.
2020-10-15
Added
- Add support for authenticating using an identity provider
- New endpoint in Marketplace API
/current_user/create_with_idp - New endpoint in Authentication API
/auth/auth_with_idp - currentUser resource in
Marketplace API has a new attribute:
identityProviders. - user resource in Integration API
has a new attribute:
identityProviders.
- New endpoint in Marketplace API
2020-09-28
- New possible state
proposedforbookingresources in the Marketplace API and the Integration API
2020-08-12
Added
- Add support for custom image variants in Marketplace and Integration APIs
2020-07-08
Added
- Add support for transitioning transactions as operator via the Integration API:
- New API endpoint
/transactions/transition - New API endpoint
/transactions/transition_speculative
- New API endpoint
- Add support for transaction metadata:
- Add
metadatato thetransactionresource format in the Marketplace API - Add
metadatato thetransactionresource format in the Integration API - New API endpoint
/transactions/update_metadata
- Add
2020-06-25
Added
- Add support to Authentication API for token_exchange for requesting trusted:user tokens that are used for secure API calls
- Enable client secrets for Marketplace API applications
- Enable privileged transitions that require trusted:user token for transitioning
2020-06-15
Changed
- Expand supported query time range for availability exceptions in both the Marketplace API and the Integration API
- Expand the supported query time range for bookings in the Marketplace API
- Expand the supported query time range for timeslots in the Marketplace API
2020-04-30
Changed
- Update documentation to clarify that transactions can not have more than 100 transitions.
2020-03-25
Added
- Add support for filtering listings by time-based availability in
/listings/queryendpoints in both the Marketplace API and the Integration API:- New types of availability filtering
time-fullandtime-partial - Support for partial availability with given minimum duration (
minDurationquery parameter) - NOTE: Pagination is not supported with
time-fullandtime-partialavailability search queries
- New types of availability filtering
- Add support for minimum duration queries when filtering by day-based
availability:
- New
minDurationquery parameter is now supported - NOTE: Pagination is not supported with queries using
minDuration
- New
- Add support for new
sortquery parameter in/listings/query. It allows controlling sort order and sorting listings by one or more of:- price amount
- listing creation time
- numeric
publicDataandmetadataattributes that have a corresponding extended data schema defined
For details, see:
- Marketplace API
/listings/query - Integration API
/listings/query
Changed
- Deprecating
fullandpartialvalues foravailabilityquery parameter in/listings/queryin both the Marketplace API and the Integration API. Useday-fullandday-partialinstead.
2020-02-19
Fixed
- Integration API endpoint
/users/showalways returnedfalseforstripeConnected.
2020-02-12
Chanegd
- Auth API
/tokenPOST endpoint now returns scopes associated with the issued token.
2020-01-21
Added
- Add support for updating, approving, closing and opening listings in the
Integration API:
- New endpoint
/listings/update - New endpoint
/listings/approve - New endpoint
/listings/close - New endpoint
/listings/open
- New endpoint
- Add support for updating user profile data in the Integration
API:
- New endpoint
/users/update_profile
- New endpoint
- Add public
metadata support
for users (new attribute
profile.metadata):- Read-only support in the Marketplace API
userandcurrentUserresources - Read-write support in the Integration API
user
- Read-only support in the Marketplace API
- Add support for creating, querying and deleting availability exceptions in the
Integration API:
- New endpoint
/availability_exceptions/query - New endpoint
/availability_exceptions/create - New endpoint
/availability_exceptions/delete
- New endpoint
- Add support for uploading images in the Integration API:
- New endpoint
/images/upload
- New endpoint
- Add support for querying transactions by user or listing in the Integration
API's
/transactions/queryAPI endpoint. - Add support for deleting user profile image in the Marketplace API
/current_user/update_profileendpoint.
2019-12-20
Changed
- Stripe Account resource in Marketplace API updated to contain Account object
returned from Stripe, see
stripeAccount.
Added
- New API endpoint
/stripe_account/fetch.
2019-12-19
Changed
- Marketplace API endpoints that invoke the Stripe API now return a
409response with error codestripe-invalid-requestfor all unknown4xxresponses from Stripe. See:
2019-12-11
Fixed
- Change listings keyword search to be accent insensitive.
Changed
- Listing's query now supports passing in the minimum number of seats that the listing should have available on the given period to match. Works with both the Integration API and the Marketplace API.
2019-12-04
Added
- A new Flex API is now available - Integration API.
2019-12-02
Added
- Add support for
client_credentialsgrant using client secret in the Authentication API. Used for obtaining access tokens for the Integration API.
2019-11-27
Changed
- Listing's query now allows choosing between AND (has all) and OR (has any)
matching mode for public extended data and metadata when querying against a
multi enum field. The default is still AND so this is a non-breaking change.
See
/listings/query.
2019-09-16
Added
- Expose listing's availability plan
typeandtimezoneinlistingresources.
2019-08-22
Added
- Add support for storing payment cards using Stripe's Customers and Payment Methods
- New API endpoint
/stripe_setup_intents/create - New API endpoint
/stripe_customer/create - New API endpoint
/stripe_customer/add_payment_method - New API endpoint
/stripe_customer/delete_payment_method - New API resource
stripeSetupIntent - New API resource
stripePaymentMethod - Updated relationships on API resource
currentUser
- New API endpoint
2019-07-16
Added
- Keyword search added to the listings query endpoint. See
/listings/query.
2019-06-12
Changed
- Expand the bookings query up to 365 days in the future for listings with a
day-based availability plan. See
/bookings/query.
2019-05-15
Changed
- Allow querying listings by availability up to 365 days in the future. See
/listings/query. - Expand the timeslots query range to 365 days for listings with a day-based
availability plan. See
/timeslots/query.
2019-04-15
Changed
- Increase page size to 500 for the time slots query endpoint: See
/timeslots/query - Time-based availability management and booking display times officially relased. See:
2019-03-25
Added
- Add support for creating Stripe Business accounts and Stripe Persons:
- New API endpoint
/stripe_account/createreplacing deprecated/current_user/create_stripe_account - New API endpoint
/stripe_account/updatereplacing deprecated/current_user/update_stripe_account - New API endpoint
/stripe_persons/create
- New API endpoint
Changed
- Deprecate
chargesEnabledandpayoutsEnabledflags for currentUser resource - Deprecate
/current_user/create_stripe_accountAPI endpoint - Deprecate
/current_user/update_stripe_accountAPI endpoint
2019-03-21
Added
- Arbitrary line item codes in the
transactionresource format. For more information about arbitrary line items, see Custom pricing. - New parameter types
moneyand["lineItems"]in theprocessTransitionresource format.
2019-02-20
Added
- Beta: Support for time-based availability plans and timeslots. See:
- Beta: Support for booking display times in
bookingresource type.
2019-01-30
Changed
- Allow requesting password reset with unverified email address via
/password_reset/requestAPI endpoint.
Fixed
privateDatawas missing fromcurrentUserresource type whenprofileImagewas included in the/current_user/showAPI endpoint.
2019-01-28
Added
- Support for querying listings by day-based availability in
/listings/queryAPI endpoint.
2019-01-10
Added
2018-11-26
Added
- Support for day-based availability management. See:
- Support for querying bookings for a given time range. See
/bookings/query.
2018-11-15
Added
- Support for draft listing state. See
/own_listings/create_draft,/own_listings/publish_draftand/own_listings/discard_draftAPI endpoints.
2018-10-25
Added
- Support for removing listing's price or location data in
/own_listings/updateAPI endpoint
Fixed
- Fix setting location if listing did not previously have location data in
/own_listings/updateAPI endpoint
2018-08-14
Added
- New query parameter
pricefor/listings/queryAPI endpoint, which allows filtering listings by price
2018-08-08
Added
- New attribute
protectedDatafortransactionresource - New possible value
objectforprocessTransitionparameter types
2018-07-05
Added
- New API endpoint:
/timeslots/query