client.Marketplace.GetMarketplaceAsync() -> WithRawResponseTask<MarketplaceObject>
-
-
-
Settings are changed in the dashboard, separately for test and live.
-
-
-
await client.Marketplace.GetMarketplaceAsync();
-
-
client.Sellers.ListSellersAsync(ListSellersRequest { ... }) -> WithRawResponseTask<SellerList>
-
-
-
await client.Sellers.ListSellersAsync(new ListSellersRequest());
-
-
-
request:
ListSellersRequest
-
-
client.Sellers.CreateSellerAsync(CreatePartyDto { ... }) -> WithRawResponseTask<SellerObject>
-
-
-
await client.Sellers.CreateSellerAsync(new CreatePartyDto { ExternalId = "external_id" });
-
-
-
request:
CreatePartyDto
-
-
client.Sellers.GetSellerAsync(GetSellerRequest { ... }) -> WithRawResponseTask<SellerObject>
-
-
-
await client.Sellers.GetSellerAsync(new GetSellerRequest { Id = "id" });
-
-
-
request:
GetSellerRequest
-
-
client.Sellers.EraseSellerAsync(EraseSellerRequest { ... }) -> WithRawResponseTask<SellerObject>
-
-
-
Removes the name, external id, metadata, storefront, and review text, and takes the listings down. Orders and reputation stay, without personal data.
-
-
-
await client.Sellers.EraseSellerAsync(new EraseSellerRequest { Id = "id" });
-
-
-
request:
EraseSellerRequest
-
-
client.Sellers.UpdateSellerAsync(UpdateSellerRequest { ... }) -> WithRawResponseTask<SellerObject>
-
-
-
await client.Sellers.UpdateSellerAsync( new UpdateSellerRequest { Id = "id", Body = new UpdatePartyDto() } );
-
-
-
request:
UpdateSellerRequest
-
-
client.Sellers.PutStorefrontAsync(StorefrontDto { ... }) -> WithRawResponseTask<StorefrontObject>
-
-
-
await client.Sellers.PutStorefrontAsync( new StorefrontDto { Id = "id", Name = "name", Slug = "jane-templates", } );
-
-
-
request:
StorefrontDto
-
-
client.Sellers.CreateOnboardingLinkAsync(OnboardingLinkDto { ... }) -> WithRawResponseTask<OnboardingLinkObject>
-
-
-
The first link creates the seller's connected account on your Stripe account: Express, with Stripe collecting what the law requires, your platform paying Stripe's fees and bearing losses, and only transfers requested. Send the seller to the link; their payouts status follows as Stripe reports it.
-
-
-
await client.Sellers.CreateOnboardingLinkAsync( new OnboardingLinkDto { Id = "id", ReturnUrl = "return_url", RefreshUrl = "refresh_url", } );
-
-
-
request:
OnboardingLinkDto
-
-
client.Sellers.GetSellerProfileAsync(GetSellerProfileRequest { ... }) -> WithRawResponseTask<SellerProfileObject>
-
-
-
Callable with a publishable key. Shows only what a buyer may see.
-
-
-
await client.Sellers.GetSellerProfileAsync(new GetSellerProfileRequest { Id = "id" });
-
-
-
request:
GetSellerProfileRequest
-
-
client.Buyers.ListBuyersAsync(ListBuyersRequest { ... }) -> WithRawResponseTask<BuyerList>
-
-
-
await client.Buyers.ListBuyersAsync(new ListBuyersRequest());
-
-
-
request:
ListBuyersRequest
-
-
client.Buyers.CreateBuyerAsync(CreatePartyDto { ... }) -> WithRawResponseTask<BuyerObject>
-
-
-
await client.Buyers.CreateBuyerAsync(new CreatePartyDto { ExternalId = "external_id" });
-
-
-
request:
CreatePartyDto
-
-
client.Buyers.GetBuyerAsync(GetBuyerRequest { ... }) -> WithRawResponseTask<BuyerObject>
-
-
-
await client.Buyers.GetBuyerAsync(new GetBuyerRequest { Id = "id" });
-
-
-
request:
GetBuyerRequest
-
-
client.Buyers.EraseBuyerAsync(EraseBuyerRequest { ... }) -> WithRawResponseTask<BuyerObject>
-
-
-
await client.Buyers.EraseBuyerAsync(new EraseBuyerRequest { Id = "id" });
-
-
-
request:
EraseBuyerRequest
-
-
client.Buyers.UpdateBuyerAsync(UpdateBuyerRequest { ... }) -> WithRawResponseTask<BuyerObject>
-
-
-
await client.Buyers.UpdateBuyerAsync( new UpdateBuyerRequest { Id = "id", Body = new UpdatePartyDto() } );
-
-
-
request:
UpdateBuyerRequest
-
-
client.Categories.ListCategoriesAsync(ListCategoriesRequest { ... }) -> WithRawResponseTask<CategoryList>
-
-
-
await client.Categories.ListCategoriesAsync(new ListCategoriesRequest());
-
-
-
request:
ListCategoriesRequest
-
-
client.Categories.CreateCategoryAsync(CreateCategoryDto { ... }) -> WithRawResponseTask<CategoryObject>
-
-
-
await client.Categories.CreateCategoryAsync( new CreateCategoryDto { Key = "ui-kits", Name = "name" } );
-
-
-
request:
CreateCategoryDto
-
-
client.Categories.GetCategoryAsync(GetCategoryRequest { ... }) -> WithRawResponseTask<CategoryObject>
-
-
-
await client.Categories.GetCategoryAsync(new GetCategoryRequest { Id = "id" });
-
-
-
request:
GetCategoryRequest
-
-
client.Categories.UpdateCategoryAsync(UpdateCategoryDto { ... }) -> WithRawResponseTask<CategoryObject>
-
-
-
await client.Categories.UpdateCategoryAsync(new UpdateCategoryDto { Id = "id" });
-
-
-
request:
UpdateCategoryDto
-
-
client.Categories.GetAttributeSchemaAsync(GetAttributeSchemaRequest { ... }) -> WithRawResponseTask<AttributeSchemaObject>
-
-
-
await client.Categories.GetAttributeSchemaAsync(new GetAttributeSchemaRequest { Id = "id" });
-
-
-
request:
GetAttributeSchemaRequest
-
-
client.Categories.PutAttributeSchemaAsync(PutAttributeSchemaRequest { ... }) -> WithRawResponseTask<AttributeSchemaObject>
-
-
-
Refused if a listing already in the category would no longer fit.
-
-
-
await client.Categories.PutAttributeSchemaAsync( new PutAttributeSchemaRequest { Id = "id", Body = new AttributeSchemaObject { Attributes = new List<AttributeDefinitionObject>() { new AttributeDefinitionObject { Key = "format", Type = AttributeDefinitionObjectType.String, }, }, }, } );
-
-
-
request:
PutAttributeSchemaRequest
-
-
client.Listings.ListListingsAsync(ListListingsRequest { ... }) -> WithRawResponseTask<ListingList>
-
-
-
With a publishable key, only published listings are listed.
-
-
-
await client.Listings.ListListingsAsync(new ListListingsRequest());
-
-
-
request:
ListListingsRequest
-
-
client.Listings.CreateListingAsync(CreateListingDto { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
await client.Listings.CreateListingAsync( new CreateListingDto { Seller = "sel_034XtPDs7UJ0TXzTsdaHZa", Title = "title", Price = new MoneyDto { Amount = 4900, Currency = "USD" }, } );
-
-
-
request:
CreateListingDto
-
-
client.Listings.CreateListingsAsync(BulkCreateListingsDto { ... }) -> WithRawResponseTask<BulkListingsObject>
-
-
-
await client.Listings.CreateListingsAsync( new BulkCreateListingsDto { Listings = new List<CreateListingDto>() { new CreateListingDto { Seller = "sel_034XtPDs7UJ0TXzTsdaHZa", Title = "title", Price = new MoneyDto { Amount = 4900, Currency = "USD" }, }, }, } );
-
-
-
request:
BulkCreateListingsDto
-
-
client.Listings.GetListingAsync(GetListingRequest { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
With a publishable key, only a published listing can be retrieved.
-
-
-
await client.Listings.GetListingAsync(new GetListingRequest { Id = "id" });
-
-
-
request:
GetListingRequest
-
-
client.Listings.UpdateListingAsync(UpdateListingDto { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
await client.Listings.UpdateListingAsync(new UpdateListingDto { Id = "id" });
-
-
-
request:
UpdateListingDto
-
-
client.Listings.PublishListingAsync(PublishListingRequest { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
Needs an active seller, verified when seller verification is on, and a category that is not prohibited.
-
-
-
await client.Listings.PublishListingAsync(new PublishListingRequest { Id = "id" });
-
-
-
request:
PublishListingRequest
-
-
client.Listings.UnpublishListingAsync(UnpublishListingRequest { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
await client.Listings.UnpublishListingAsync(new UnpublishListingRequest { Id = "id" });
-
-
-
request:
UnpublishListingRequest
-
-
client.Listings.RemoveListingAsync(RemoveListingDto { ... }) -> WithRawResponseTask<ListingObject>
-
-
-
await client.Listings.RemoveListingAsync(new RemoveListingDto { Id = "id", Reason = "reason" });
-
-
-
request:
RemoveListingDto
-
-
client.Listings.ListMediaAsync(ListMediaRequest { ... }) -> WithRawResponseTask<MediaList>
-
-
-
await client.Listings.ListMediaAsync(new ListMediaRequest { Id = "id" });
-
-
-
request:
ListMediaRequest
-
-
client.Listings.CreateMediaAsync(CreateMediaDto { ... }) -> WithRawResponseTask<MediaUploadObject>
-
-
-
Returns a signed URL, valid for 10 minutes. PUT the file there, then complete the upload. The file is stored under a path that begins with the marketplace id.
-
-
-
await client.Listings.CreateMediaAsync( new CreateMediaDto { Id = "id", ContentType = CreateMediaDtoContentType.ImageJpeg, SizeBytes = 1.1, } );
-
-
-
request:
CreateMediaDto
-
-
client.Listings.CompleteMediaAsync(CompleteMediaRequest { ... }) -> WithRawResponseTask<MediaObject>
-
-
-
Checks the stored file against the declared type and size.
-
-
-
await client.Listings.CompleteMediaAsync(new CompleteMediaRequest { Id = "id" });
-
-
-
request:
CompleteMediaRequest
-
-
client.Listings.DeleteMediaAsync(DeleteMediaRequest { ... }) -> WithRawResponseTask<MediaObject>
-
-
-
await client.Listings.DeleteMediaAsync(new DeleteMediaRequest { Id = "id" });
-
-
-
request:
DeleteMediaRequest
-
-
client.Search.SearchListingsAsync(SearchListingsRequest { ... }) -> WithRawResponseTask<ListingList>
-
-
-
Full text over title and description, with filters and sorting. Only published listings with something available are returned. Callable with a publishable key.
-
-
-
await client.Search.SearchListingsAsync(new SearchListingsRequest());
-
-
-
request:
SearchListingsRequest
-
-
client.Orders.ListOrdersAsync(ListOrdersRequest { ... }) -> WithRawResponseTask<OrderList>
-
-
-
await client.Orders.ListOrdersAsync(new ListOrdersRequest());
-
-
-
request:
ListOrdersRequest
-
-
client.Orders.CreateOrderAsync(CreateOrderDto { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
The buyer commits to buy. Quantity is reserved at once. With payments off the order is committed; with payments on it awaits payment.
-
-
-
await client.Orders.CreateOrderAsync( new CreateOrderDto { Listing = "lst_034XtPDs7UJ0TXzTsdaHZa", Buyer = "buy_034XtPDs7UJ0TXzTsdaHZa", } );
-
-
-
request:
CreateOrderDto
-
-
client.Orders.GetOrderAsync(GetOrderRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
await client.Orders.GetOrderAsync(new GetOrderRequest { Id = "id" });
-
-
-
request:
GetOrderRequest
-
-
client.Orders.ListOrderEventsAsync(ListOrderEventsRequest { ... }) -> WithRawResponseTask<OrderEventList>
-
-
-
await client.Orders.ListOrderEventsAsync(new ListOrderEventsRequest { Id = "id" });
-
-
-
request:
ListOrderEventsRequest
-
-
client.Orders.ClaimOrderAsync(ClaimOrderRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition.
-
-
-
await client.Orders.ClaimOrderAsync( new ClaimOrderRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
ClaimOrderRequest
-
-
client.Orders.ConfirmOrderAsync(ConfirmOrderRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition.
-
-
-
await client.Orders.ConfirmOrderAsync( new ConfirmOrderRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
ConfirmOrderRequest
-
-
client.Orders.BackOutOfOrderAsync(BackOutOfOrderRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition. Writes a backed_out reputation event against the actor.
-
-
-
await client.Orders.BackOutOfOrderAsync( new BackOutOfOrderRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
BackOutOfOrderRequest
-
-
client.Orders.ProposeCancelAsync(ProposeCancelRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition. The other party can accept within the agreement window. A declined or lapsed proposal changes nothing.
-
-
-
await client.Orders.ProposeCancelAsync( new ProposeCancelRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
ProposeCancelRequest
-
-
client.Orders.AcceptCancelAsync(AcceptCancelRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition.
-
-
-
await client.Orders.AcceptCancelAsync( new AcceptCancelRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
AcceptCancelRequest
-
-
client.Orders.DeclineCancelAsync(DeclineCancelRequest { ... }) -> WithRawResponseTask<OrderObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition.
-
-
-
await client.Orders.DeclineCancelAsync( new DeclineCancelRequest { Id = "id", Body = new ActorDto { Actor = "buy_034XtPDs7UJ0TXzTsdaHZa" }, } );
-
-
-
request:
DeclineCancelRequest
-
-
client.Orders.ListOrderReviewsAsync(ListOrderReviewsRequest { ... }) -> WithRawResponseTask<ReviewList>
-
-
-
await client.Orders.ListOrderReviewsAsync(new ListOrderReviewsRequest { Id = "id" });
-
-
-
request:
ListOrderReviewsRequest
-
-
client.Orders.CreateReviewAsync(CreateReviewDto { ... }) -> WithRawResponseTask<ReviewObject>
-
-
-
Called from your server.
actorsays which end user is acting; we check they are a party to the order and may make this transition. Only on a completed order, inside the review window, once per party. Hidden until both have reviewed or the window closes.
-
-
-
await client.Orders.CreateReviewAsync( new CreateReviewDto { Id = "id", Actor = "buy_034XtPDs7UJ0TXzTsdaHZa", Rating = 1.1, } );
-
-
-
request:
CreateReviewDto
-
-
client.Reviews.ListReviewsAsync(ListReviewsRequest { ... }) -> WithRawResponseTask<ReviewList>
-
-
-
await client.Reviews.ListReviewsAsync(new ListReviewsRequest { Subject = "subject" });
-
-
-
request:
ListReviewsRequest
-
-
client.Reviews.GetReviewAsync(GetReviewRequest { ... }) -> WithRawResponseTask<ReviewObject>
-
-
-
await client.Reviews.GetReviewAsync(new GetReviewRequest { Id = "id" });
-
-
-
request:
GetReviewRequest
-
-
client.Reputation.ListReputationEventsAsync(ListReputationEventsRequest { ... }) -> WithRawResponseTask<ReputationEventList>
-
-
-
await client.Reputation.ListReputationEventsAsync( new ListReputationEventsRequest { Party = "party" } );
-
-
-
request:
ListReputationEventsRequest
-
-
client.Reputation.VoidReputationEventAsync(VoidDto { ... }) -> WithRawResponseTask<ReputationEventObject>
-
-
-
For the customer's team. Writes a second event pointing at the first. The voided event stops counting. Nothing is deleted.
-
-
-
await client.Reputation.VoidReputationEventAsync(new VoidDto { Id = "id", Reason = "reason" });
-
-
-
request:
VoidDto
-
-
client.Payments.ListPaymentsAsync(ListPaymentsRequest { ... }) -> WithRawResponseTask<PaymentList>
-
-
-
await client.Payments.ListPaymentsAsync(new ListPaymentsRequest());
-
-
-
request:
ListPaymentsRequest
-
-
client.Payments.GetPaymentAsync(GetPaymentRequest { ... }) -> WithRawResponseTask<PaymentObject>
-
-
-
await client.Payments.GetPaymentAsync(new GetPaymentRequest { Id = "id" });
-
-
-
request:
GetPaymentRequest
-
-
client.Payments.UpdatePaymentAsync(UpdatePaymentRequest { ... }) -> WithRawResponseTask<PaymentObject>
-
-
-
await client.Payments.UpdatePaymentAsync( new UpdatePaymentRequest { Id = "id", Body = new UpdateMetadataDto { Metadata = new Dictionary<string, string>() { { "key", "value" } }, }, } );
-
-
-
request:
UpdatePaymentRequest
-
-
client.Payments.RetryPaymentReleaseAsync(RetryPaymentReleaseRequest { ... }) -> WithRawResponseTask<PaymentObject>
-
-
-
For a release that failed, for example because the seller could not yet receive transfers. A release is also tried again by itself when the seller becomes able to receive payouts.
-
-
-
await client.Payments.RetryPaymentReleaseAsync(new RetryPaymentReleaseRequest { Id = "id" });
-
-
-
request:
RetryPaymentReleaseRequest
-
-
client.Payments.ListRefundsAsync(ListRefundsRequest { ... }) -> WithRawResponseTask<RefundList>
-
-
-
await client.Payments.ListRefundsAsync(new ListRefundsRequest());
-
-
-
request:
ListRefundsRequest
-
-
client.Payments.CreateRefundAsync(CreateRefundDto { ... }) -> WithRawResponseTask<RefundObject>
-
-
-
Recorded at once with status
pending, then made at Stripe. If the seller's share was already released, the transfer is reversed in the same proportion, so your fee is given back in proportion too.
-
-
-
await client.Payments.CreateRefundAsync(new CreateRefundDto());
-
-
-
request:
CreateRefundDto
-
-
client.Payments.GetRefundAsync(GetRefundRequest { ... }) -> WithRawResponseTask<RefundObject>
-
-
-
await client.Payments.GetRefundAsync(new GetRefundRequest { Id = "id" });
-
-
-
request:
GetRefundRequest
-
-
client.Payments.UpdateRefundAsync(UpdateRefundRequest { ... }) -> WithRawResponseTask<RefundObject>
-
-
-
await client.Payments.UpdateRefundAsync( new UpdateRefundRequest { Id = "id", Body = new UpdateMetadataDto { Metadata = new Dictionary<string, string>() { { "key", "value" } }, }, } );
-
-
-
request:
UpdateRefundRequest
-
-
client.Trust.CreateVerificationAsync(CreateVerificationDto { ... }) -> WithRawResponseTask<VerificationObject>
-
-
-
Creates a Stripe Identity session on your Stripe account and returns its page, once. Only the outcome and the session id are kept; no document image or document data. When seller verification is on, a seller can publish only once verified.
-
-
-
await client.Trust.CreateVerificationAsync(new CreateVerificationDto { Id = "id" });
-
-
-
request:
CreateVerificationDto
-
-
client.Trust.ListVerificationsAsync(ListVerificationsRequest { ... }) -> WithRawResponseTask<VerificationList>
-
-
-
await client.Trust.ListVerificationsAsync(new ListVerificationsRequest());
-
-
-
request:
ListVerificationsRequest
-
-
client.Trust.GetVerificationAsync(GetVerificationRequest { ... }) -> WithRawResponseTask<VerificationObject>
-
-
-
await client.Trust.GetVerificationAsync(new GetVerificationRequest { Id = "id" });
-
-
-
request:
GetVerificationRequest
-
-
client.Trust.CancelVerificationAsync(CancelVerificationRequest { ... }) -> WithRawResponseTask<VerificationObject>
-
-
-
await client.Trust.CancelVerificationAsync(new CancelVerificationRequest { Id = "id" });
-
-
-
request:
CancelVerificationRequest
-
-
client.Trust.ListDisputesAsync(ListDisputesRequest { ... }) -> WithRawResponseTask<DisputeList>
-
-
-
Filter by
stagefor a queue.
-
-
-
await client.Trust.ListDisputesAsync(new ListDisputesRequest());
-
-
-
request:
ListDisputesRequest
-
-
client.Trust.GetDisputeAsync(GetDisputeRequest { ... }) -> WithRawResponseTask<DisputeObject>
-
-
-
await client.Trust.GetDisputeAsync(new GetDisputeRequest { Id = "id" });
-
-
-
request:
GetDisputeRequest
-
-
client.Trust.ListDisputeEvidenceAsync(ListDisputeEvidenceRequest { ... }) -> WithRawResponseTask<DisputeEvidenceList>
-
-
-
await client.Trust.ListDisputeEvidenceAsync(new ListDisputeEvidenceRequest { Id = "id" });
-
-
-
request:
ListDisputeEvidenceRequest
-
-
client.Trust.AddDisputeEvidenceAsync(AddEvidenceDto { ... }) -> WithRawResponseTask<DisputeEvidenceObject>
-
-
-
Only while the dispute is in its evidence stage.
-
-
-
await client.Trust.AddDisputeEvidenceAsync( new AddEvidenceDto { Id = "id", Actor = "actor", Body = "body", } );
-
-
-
request:
AddEvidenceDto
-
-
client.Trust.CloseDisputeEvidenceAsync(CloseDisputeEvidenceRequest { ... }) -> WithRawResponseTask<DisputeObject>
-
-
-
await client.Trust.CloseDisputeEvidenceAsync(new CloseDisputeEvidenceRequest { Id = "id" });
-
-
-
request:
CloseDisputeEvidenceRequest
-
-
client.Trust.DecideDisputeAsync(DecideDisputeDto { ... }) -> WithRawResponseTask<DisputeObject>
-
-
-
Your team's decision: who it went against, in writing, and with payments on, how much goes back to the buyer. On a claimed order, deciding against the party who disputed upholds the claim and completes the order; deciding against the claimant cancels it.
-
-
-
await client.Trust.DecideDisputeAsync( new DecideDisputeDto { Id = "id", Against = DecideDisputeDtoAgainst.Buyer, Note = "note", } );
-
-
-
request:
DecideDisputeDto
-
-
client.Trust.OpenDisputeAsync(OpenDisputeDto { ... }) -> WithRawResponseTask<DisputeObject>
-
-
-
On a claimed order, by the party who did not claim: the order becomes disputed. On a completed order, by either party inside the dispute window: the order stays completed.
-
-
-
await client.Trust.OpenDisputeAsync( new OpenDisputeDto { Id = "id", Actor = "buy_034XtPDs7UJ0TXzTsdaHZa", Reason = "reason", } );
-
-
-
request:
OpenDisputeDto
-
-
client.Moderation.ListFlagsAsync(ListFlagsRequest { ... }) -> WithRawResponseTask<FlagList>
-
-
-
await client.Moderation.ListFlagsAsync(new ListFlagsRequest());
-
-
-
request:
ListFlagsRequest
-
-
client.Moderation.CreateFlagAsync(CreateFlagDto { ... }) -> WithRawResponseTask<FlagObject>
-
-
-
On behalf of the end user who reported it.
-
-
-
await client.Moderation.CreateFlagAsync( new CreateFlagDto { Target = "lst_034XtPDs7UJ0TXzTsdaHZa", Reporter = "buy_034XtPDs7UJ0TXzTsdaHZa", Reason = CreateFlagDtoReason.ProhibitedItem, } );
-
-
-
request:
CreateFlagDto
-
-
client.Moderation.GetFlagAsync(GetFlagRequest { ... }) -> WithRawResponseTask<FlagObject>
-
-
-
await client.Moderation.GetFlagAsync(new GetFlagRequest { Id = "id" });
-
-
-
request:
GetFlagRequest
-
-
client.Moderation.GetModerationQueueAsync(GetModerationQueueRequest { ... }) -> WithRawResponseTask<ModerationQueueObject>
-
-
-
await client.Moderation.GetModerationQueueAsync(new GetModerationQueueRequest());
-
-
-
request:
GetModerationQueueRequest
-
-
client.Moderation.ListModerationActionsAsync(ListModerationActionsRequest { ... }) -> WithRawResponseTask<ModerationActionList>
-
-
-
await client.Moderation.ListModerationActionsAsync(new ListModerationActionsRequest());
-
-
-
request:
ListModerationActionsRequest
-
-
client.Moderation.CreateModerationActionAsync(CreateModerationActionDto { ... }) -> WithRawResponseTask<ModerationActionObject>
-
-
-
Resolves the target's open flags and logs who acted and why.
-
-
-
await client.Moderation.CreateModerationActionAsync( new CreateModerationActionDto { Target = "target", Action = CreateModerationActionDtoAction.Dismiss, Reason = "reason", Actor = "actor", } );
-
-
-
request:
CreateModerationActionDto
-
-
client.Webhooks.ListWebhookEndpointsAsync(ListWebhookEndpointsRequest { ... }) -> WithRawResponseTask<WebhookEndpointList>
-
-
-
await client.Webhooks.ListWebhookEndpointsAsync(new ListWebhookEndpointsRequest());
-
-
-
request:
ListWebhookEndpointsRequest
-
-
client.Webhooks.CreateWebhookEndpointAsync(CreateWebhookEndpointDto { ... }) -> WithRawResponseTask<WebhookEndpointObject>
-
-
-
Returns the signing secret, once. Every delivery carries
MarketSDK-Signature: t=<time>,v1=<HMAC-SHA256 of "<time>.<body>">.
-
-
-
await client.Webhooks.CreateWebhookEndpointAsync( new CreateWebhookEndpointDto { Url = "https://shop.example/marketsdk/webhooks", EnabledEvents = new List<CreateWebhookEndpointDtoEnabledEventsItem>() { CreateWebhookEndpointDtoEnabledEventsItem.All, }, } );
-
-
-
request:
CreateWebhookEndpointDto
-
-
client.Webhooks.GetWebhookEndpointAsync(GetWebhookEndpointRequest { ... }) -> WithRawResponseTask<WebhookEndpointObject>
-
-
-
await client.Webhooks.GetWebhookEndpointAsync(new GetWebhookEndpointRequest { Id = "id" });
-
-
-
request:
GetWebhookEndpointRequest
-
-
client.Webhooks.DeleteWebhookEndpointAsync(DeleteWebhookEndpointRequest { ... }) -> WithRawResponseTask<DeletedWebhookEndpointObject>
-
-
-
await client.Webhooks.DeleteWebhookEndpointAsync(new DeleteWebhookEndpointRequest { Id = "id" });
-
-
-
request:
DeleteWebhookEndpointRequest
-
-
client.Webhooks.UpdateWebhookEndpointAsync(UpdateWebhookEndpointDto { ... }) -> WithRawResponseTask<WebhookEndpointObject>
-
-
-
await client.Webhooks.UpdateWebhookEndpointAsync(new UpdateWebhookEndpointDto { Id = "id" });
-
-
-
request:
UpdateWebhookEndpointDto
-
-
client.Webhooks.RotateWebhookSecretAsync(RotateWebhookSecretRequest { ... }) -> WithRawResponseTask<WebhookEndpointObject>
-
-
-
Returns the new secret, once. The old one stops at once.
-
-
-
await client.Webhooks.RotateWebhookSecretAsync(new RotateWebhookSecretRequest { Id = "id" });
-
-
-
request:
RotateWebhookSecretRequest
-
-
client.Webhooks.ListWebhookDeliveriesAsync(ListWebhookDeliveriesRequest { ... }) -> WithRawResponseTask<WebhookDeliveryList>
-
-
-
await client.Webhooks.ListWebhookDeliveriesAsync(new ListWebhookDeliveriesRequest());
-
-
-
request:
ListWebhookDeliveriesRequest
-
-
client.Webhooks.GetWebhookDeliveryAsync(GetWebhookDeliveryRequest { ... }) -> WithRawResponseTask<WebhookDeliveryObject>
-
-
-
await client.Webhooks.GetWebhookDeliveryAsync(new GetWebhookDeliveryRequest { Id = "id" });
-
-
-
request:
GetWebhookDeliveryRequest
-
-
client.Webhooks.ReplayWebhookDeliveryAsync(ReplayWebhookDeliveryRequest { ... }) -> WithRawResponseTask<WebhookDeliveryObject>
-
-
-
Creates a new delivery of the same event to the same endpoint.
-
-
-
await client.Webhooks.ReplayWebhookDeliveryAsync(new ReplayWebhookDeliveryRequest { Id = "id" });
-
-
-
request:
ReplayWebhookDeliveryRequest
-
-
client.Webhooks.ListEventsAsync(ListEventsRequest { ... }) -> WithRawResponseTask<EventList>
-
-
-
await client.Webhooks.ListEventsAsync(new ListEventsRequest());
-
-
-
request:
ListEventsRequest
-
-
client.Webhooks.GetEventAsync(GetEventRequest { ... }) -> WithRawResponseTask<EventObject>
-
-
-
await client.Webhooks.GetEventAsync(new GetEventRequest { Id = "id" });
-
-
-
request:
GetEventRequest
-
-