Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
diPhantxm committed Dec 15, 2024
1 parent 6b8b221 commit d1fd698
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
8 changes: 7 additions & 1 deletion ozon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const (
ServiceProcessingIdentifiedSurplus DetailsServiceItemName = "MarketplaceServiceProcessingIdentifiedSurplus"
ServiceProcessingIdentifiedDiscrepancies DetailsServiceItemName = "MarketplaceServiceProcessingIdentifiedDiscrepancies"
ServiceItemInternetSiteAdvertising DetailsServiceItemName = "MarketplaceServiceItemInternetSiteAdvertising"
ServiceItemPremiumSubscribtion DetailsServiceItemName = "MarketplaceServiceItemPremiumSubscribtion"
ServiceItemPremiumSubscribtion DetailsServiceItemName = "MarketplaceServiceItemSubscribtionPremium"
AgencyFeeAggregator3PLGlobalItem DetailsServiceItemName = "MarketplaceAgencyFeeAggregator3PLGlobalItem"
)

Expand Down Expand Up @@ -561,6 +561,12 @@ const (

// financial report
ReportTypeSellerFinance ReportType = "SELLER_FINANCE"

// report on sales to legal entities
ReportTypeDocB2BSales ReportType = "DOCUMENT_B2B_SALES"

// settlement report
ReportTypeMutualSettlement ReportType = "MUTUAL_SETTLEMENT"
)

type ReportInfoStatus string
Expand Down
15 changes: 3 additions & 12 deletions ozon/fbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2541,20 +2541,11 @@ type CancelSendingResponse struct {

// Use this method if you cannot send some of the products from the shipment.
//
// If you are using the rFBS scheme, you have the following cancellation reason identifiers (`cancel_reason_id`) available:
//
// 352—product is out of stock;
// 400—only defective products left;
// 401—cancellation from arbitration;
// 402—other reason;
// 665—the customer did not pick the order;
// 666—delivery is not available in the region;
// 667—order was lost by the delivery service.
// The last 4 reasons are available for shipments in the "Delivering" and "Courier on the way" statuses.
// To get the cancel_reason_id cancellation reason identifiers
// when working with the FBS or rFBS schemes,
// use the /v2/posting/fbs/cancel-reason/list method.
//
// You can't cancel presumably delivered orders.
//
// If `cancel_reason_id` parameter value is 402, fill the `cancel_reason_message` field.
func (c FBS) CancelSending(ctx context.Context, params *CancelSendingParams) (*CancelSendingResponse, error) {
url := "/v2/posting/fbs/product/cancel"

Expand Down

0 comments on commit d1fd698

Please sign in to comment.