Type alias CreateProductResponse

CreateProductResponse: {
    data: Product;
    errors: APIError[];
    success: boolean;
}

Type declaration

  • data: Product

    The newly created product

  • errors: APIError[]

    If the operation was not successful, holds the deatils of errors

  • success: boolean

    Indicates whether the operation was successful or not