Admin API / Types
PublishFacebookPostPayload
UnionThe result of publishing a listing to a Facebook Page. ProductNotFoundError: the caller reads no listing with this ID. UnauthorizedError: the caller's role is below SELLER, with requiredRole SELLER, or the caller reads the listing but does not act for its seller, with requiredRole null.
union PublishFacebookPostPayload = FacebookAccountNotConnectedError | MagicPostPublishFailedError | ProductNotFoundError | ProductNotPublishableError | PublishFacebookPostSuccess | UnauthorizedError | UserInputErrorMembers
FacebookAccountNotConnectedErrorMagicPostPublishFailedErrorProductNotFoundErrorProductNotPublishableErrorPublishFacebookPostSuccessUnauthorizedErrorUserInputError